CMake/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl

11 lines
172 B
HLSL

struct PixelShaderInput
{
float4 pos : SV_POSITION;
float3 color : COLOR0;
};
float4 mainPS(PixelShaderInput input) : SV_TARGET
{
return float4(input.color,1.0f);
}