• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorRed;
4uniform vec4 colorGreen;
5int globalValue = 0;
6int side_effecting_ii(int value) {
7    globalValue++;
8    return value;
9}
10vec4 main() {
11    int _7_two = 2;
12    int _8_flatten0 = 1;
13    int _9_flatten1 = _7_two;
14    int _10_flatten2 = 3;
15    int _11_noFlatten0 = int[3](--_7_two, side_effecting_ii(2), 3)[0];
16    int _12_noFlatten1 = int[3](side_effecting_ii(1), 2, 3)[1];
17    int _13_noFlatten2 = int[3](1, ++_7_two, 3)[2];
18    return (_8_flatten0 == _11_noFlatten0 && _9_flatten1 == _12_noFlatten1) && _10_flatten2 == _13_noFlatten2 ? colorGreen : colorRed;
19}
20