• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4uniform vec4 colorRed;
5vec4 main() {
6    float _0_branchy;
7    if (colorGreen.y == 0.0) _0_branchy = 0.0; else if (colorRed.x == 0.0) _0_branchy = 0.0; else if (colorGreen == colorRed) _0_branchy = 0.0; else _0_branchy = 1.0;
8    float _1_branchyAndBlocky;
9    if (colorGreen.y == 0.0) {
10        {
11            {
12                _1_branchyAndBlocky = 0.0;
13            }
14        }
15    } else if (colorRed.x == 0.0) {
16        {
17            _1_branchyAndBlocky = 0.0;
18        }
19    } else {
20        if (colorGreen == colorRed) _1_branchyAndBlocky = 0.0; else {
21            {
22                _1_branchyAndBlocky = 1.0;
23            }
24        }
25    }
26    return bool(_0_branchy * _1_branchyAndBlocky) ? colorGreen : colorRed;
27}
28