2020-08-09 19:29:49 +02:00
|
|
|
uniform float U0;
|
|
|
|
uniform float U1;
|
|
|
|
uniform float U2;
|
|
|
|
|
2022-07-10 08:45:28 +02:00
|
|
|
int F0(in int l0);
|
2022-08-16 18:01:23 +02:00
|
|
|
void F1(in vec4 l0, out vec4 l1);
|
2020-08-09 19:29:49 +02:00
|
|
|
|
2022-07-10 08:45:28 +02:00
|
|
|
int F0(in int l0) {
|
|
|
|
return l0;
|
2020-08-09 19:29:49 +02:00
|
|
|
}
|
|
|
|
|
2022-08-16 18:01:23 +02:00
|
|
|
void F1(in vec4 l0, out vec4 l1) {
|
2020-08-09 19:29:49 +02:00
|
|
|
int l2 = 0;
|
2022-08-16 18:01:23 +02:00
|
|
|
int l4 = 0;
|
|
|
|
l2 = 0;
|
|
|
|
for (int l3 = 0; l3 < 10; l3++) {
|
|
|
|
int l4 = 0;
|
|
|
|
l4 = F0(l3);
|
|
|
|
l2 = (l2) + (l4);
|
|
|
|
for (int l5 = 0; l5 < 10; l5++) {
|
|
|
|
int l6 = 0;
|
|
|
|
l6 = F0(l5);
|
|
|
|
l2 = (l2) + (l6);
|
2020-08-09 19:29:49 +02:00
|
|
|
}
|
|
|
|
}
|
2022-08-16 18:01:23 +02:00
|
|
|
l4 = 0;
|
|
|
|
l2 = (l2) + (l4);
|
|
|
|
l1 = vec4(l2);
|
2020-08-09 19:29:49 +02:00
|
|
|
return;
|
|
|
|
}
|
2022-08-16 18:01:23 +02:00
|
|
|
|
|
|
|
void main(void) {
|
|
|
|
vec4 l0 = vec4(0);
|
|
|
|
F1(gl_FragCoord, l0);
|
|
|
|
gl_FragColor = l0;
|
|
|
|
}
|