Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/frag/for-loop-init.frag

raw
1 #version 310 es
2 precision mediump float;
3 precision highp int;
4
5 layout(location = 0) out mediump int FragColor;
6
7 void main()
8 {
9 do
10 {
11 FragColor = 16;
12 for (mediump int _143 = 0; _143 < 25; )
13 {
14 FragColor += 10;
15 _143++;
16 continue;
17 }
18 for (mediump int _144 = 1; _144 < 30; )
19 {
20 FragColor += 11;
21 _144++;
22 continue;
23 }
24 mediump int _145;
25 _145 = 0;
26 for (; _145 < 20; )
27 {
28 FragColor += 12;
29 _145++;
30 continue;
31 }
32 mediump int _62 = _145 + 3;
33 FragColor += _62;
34 if (_62 == 40)
35 {
36 for (mediump int _149 = 0; _149 < 40; )
37 {
38 FragColor += 13;
39 _149++;
40 continue;
41 }
42 break;
43 }
44 FragColor += _62;
45 mediump ivec2 _146;
46 _146 = ivec2(0);
47 for (; _146.x < 10; )
48 {
49 FragColor += _146.y;
50 mediump ivec2 _142 = _146;
51 _142.x = _146.x + 4;
52 _146 = _142;
53 continue;
54 }
55 for (mediump int _148 = _62; _148 < 40; )
56 {
57 FragColor += _148;
58 _148++;
59 continue;
60 }
61 FragColor += _62;
62 break;
63 } while(false);
64 }
65