bgfx/3rdparty/glslang/Test/hlsl.synthesizeInput.frag

9 lines
174 B
GLSL
Raw Normal View History

2017-06-25 21:06:36 +03:00
struct PSInput {
float interp;
uint no_interp;
};
float4 main(PSInput input : INPUT) : SV_TARGET
{
return float4(float(input.no_interp), input.interp, 0, 1);
}