• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 310 es
2precision mediump float;
3precision highp int;
4
5layout(location = 0) out vec4 FragColor;
6layout(location = 0) flat in mediump int vA;
7layout(location = 1) flat in mediump int vB;
8
9void main()
10{
11    FragColor = vec4(0.0);
12    mediump int _10 = 0;
13    mediump int _15 = 0;
14    for (mediump int _16 = 0, _17 = 0; _16 < vA; _17 = _15, _16 += _10)
15    {
16        if ((vA + _16) == 20)
17        {
18            _15 = 50;
19        }
20        else
21        {
22            _15 = ((vB + _16) == 40) ? 60 : _17;
23        }
24        _10 = _15 + 10;
25        FragColor += vec4(1.0);
26    }
27}
28
29