swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: 9bbfbd54ba04e07b0bf2eb8bb1056bca53d639c5 authored by Brad King on 13 December 2018, 11:44:30 UTC
CMake 3.13.2
Tip revision: 9bbfbd5
SimplePixelShader.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);
}
back to top