mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 00:40:06 +00:00
29 lines
575 B
GLSL
29 lines
575 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
precision highp int;
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
layout(location = 0) flat in mediump int vA;
|
|
layout(location = 1) flat in mediump int vB;
|
|
|
|
void main()
|
|
{
|
|
FragColor = vec4(0.0);
|
|
int _58;
|
|
for (int _57 = 0, _60 = 0; _57 < vA; FragColor += vec4(1.0), _60 = _58, _57 += (_58 + 10))
|
|
{
|
|
if ((vA + _57) == 20)
|
|
{
|
|
_58 = 50;
|
|
continue;
|
|
}
|
|
else
|
|
{
|
|
_58 = ((vB + _57) == 40) ? 60 : _60;
|
|
continue;
|
|
}
|
|
continue;
|
|
}
|
|
}
|
|
|