mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 11:19:40 +00:00
12 lines
183 B
GLSL
12 lines
183 B
GLSL
|
float4 PixelShaderFunction() : COLOR0
|
||
|
{
|
||
|
if (WaveIsFirstLane())
|
||
|
{
|
||
|
return float4(1, 2, 3, 4);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
return float4(4, 3, 2, 1);
|
||
|
}
|
||
|
}
|