mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
20 lines
285 B
GLSL
20 lines
285 B
GLSL
|
#version 450
|
||
|
|
||
|
layout(location = 0) flat in int vIndex;
|
||
|
layout(location = 0) out vec4 FragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
for (;;)
|
||
|
{
|
||
|
if (vIndex != 1)
|
||
|
{
|
||
|
FragColor = vec4(1.0);
|
||
|
break;
|
||
|
}
|
||
|
FragColor = vec4(10.0);
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
|