mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 21:17:27 +01:00
35 lines
511 B
GLSL
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]);
|
|
}
|