1 2 3 4 5 6 7 8 9
struct PS_INPUT { float3 vColor0 : COLOR0; }; float4 main( PS_INPUT i ) : COLOR { return float4( i.vColor0, 1.0 ); }