38 lines
		
	
	
		
			494 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			494 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
optimization speed;
 | 
						|
 | 
						|
vertex {
 | 
						|
	vk BEGIN
 | 
						|
#include "test.hlsl"
 | 
						|
 | 
						|
struct VSInput
 | 
						|
{
 | 
						|
};
 | 
						|
 | 
						|
struct VSOutput
 | 
						|
{
 | 
						|
	float4 Pos : SV_POSITION;
 | 
						|
};
 | 
						|
 | 
						|
VSOutput VsMain(VSInput input, uint vertexIndex : SV_VertexID) {
 | 
						|
	VSOutput output = (VSOutput)0;
 | 
						|
	return output;
 | 
						|
}
 | 
						|
	END
 | 
						|
}
 | 
						|
 | 
						|
fragment {
 | 
						|
	vk BEGIN
 | 
						|
struct PSOutput {
 | 
						|
	float4 Color : SV_TARGET0;
 | 
						|
};
 | 
						|
 | 
						|
PSOutput PsMain(void) {
 | 
						|
	PSOutput output = (PSOutput)0;
 | 
						|
	output.Color[0] = 0;
 | 
						|
	output.Color[1] = 0;
 | 
						|
	output.Color[2] = 0;
 | 
						|
	output.Color[3] = 0;
 | 
						|
	return output;
 | 
						|
}
 | 
						|
	END
 | 
						|
} |