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

12 lines
183 B
GLSL
Raw Normal View History

2018-03-11 02:03:31 +03:00
float4 PixelShaderFunction() : COLOR0
{
if (WaveIsFirstLane())
{
return float4(1, 2, 3, 4);
}
else
{
return float4(4, 3, 2, 1);
}
}