mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 09:32:58 +00:00
19 lines
224 B
GLSL
19 lines
224 B
GLSL
|
#version 450
|
||
|
layout(location = 0) out vec4 FragColor;
|
||
|
layout(location = 0) flat in int vIndex;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int v;
|
||
|
if (vIndex != 1)
|
||
|
{
|
||
|
FragColor = vec4(1.0);
|
||
|
return;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
v = 10;
|
||
|
}
|
||
|
FragColor = vec4(v);
|
||
|
}
|