// Per-pixel color data passed through the pixel shader. struct PixelShaderInput { min16float4 pos : SV_POSITION; min16float3 color : COLOR0; }; // The pixel shader passes through the color data. The color data from // is interpolated and assigned to a pixel at the rasterization step. min16float4 main(PixelShaderInput input) : SV_TARGET { return min16float4(input.color, 1.0f); }