bgfx/3rdparty/glslang/Test/hlsl.wavequery.frag
Branimir Karadžić ba4a90b9bd Updated glslang.
2018-03-10 15:03:31 -08:00

12 lines
183 B
GLSL

float4 PixelShaderFunction() : COLOR0
{
if (WaveIsFirstLane())
{
return float4(1, 2, 3, 4);
}
else
{
return float4(4, 3, 2, 1);
}
}