summaryrefslogtreecommitdiffstats
path: root/Tests/VSWinStorePhone/Direct3DApp1/SimplePixelShader.hlsl
blob: b2fe7bef09c2e274d56fc4a7de8b68e5575bf83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if !defined(FLAGS_ADDED)
# error FLAGS_ADDED not defined
#endif

struct PixelShaderInput
{
  float4 pos : SV_POSITION;
  float3 color : COLOR0;
};

float4 mainPS(PixelShaderInput input) : SV_TARGET
{
  return float4(input.color,1.0f);
}