mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 19:40:06 +00:00
9 lines
174 B
GLSL
9 lines
174 B
GLSL
struct PSInput {
|
|
float interp;
|
|
uint no_interp;
|
|
};
|
|
|
|
float4 main(PSInput input : INPUT) : SV_TARGET
|
|
{
|
|
return float4(float(input.no_interp), input.interp, 0, 1);
|
|
} |