4775c90145
Create a VS_SHADER_FLAGS source file property so that we can set all other Visual Studio .hlsl shader file compilation flags.
15 lines
238 B
HLSL
15 lines
238 B
HLSL
#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);
|
|
}
|