ebiten/internal/shader/testdata/for5.expected.fs
2024-04-12 00:09:36 +02:00

35 lines
511 B
GLSL

uniform float U0;
uniform float U1;
uniform float U2;
int F0(in int l0);
void F1(in vec4 l0, out vec4 l1);
int F0(in int l0) {
return l0;
}
void F1(in vec4 l0, out vec4 l1) {
int l2 = 0;
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);
}
}
l4 = 0;
l2 = (l2) + (l4);
l1 = vec4(float(l2));
return;
}
void main(void) {
F1(gl_FragCoord, gl_FragData[0]);
}