mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
a0549820fd
Updates #1235
20 lines
322 B
GLSL
20 lines
322 B
GLSL
uniform vec2[4] U0;
|
|
|
|
void F0(out vec2[2] l0);
|
|
void F1(out vec2[2] l0);
|
|
|
|
void F0(out vec2[2] l0) {
|
|
vec2[2] l1 = vec2[2](vec2(0), vec2(0));
|
|
l0 = l1;
|
|
return;
|
|
}
|
|
|
|
void F1(out vec2[2] l0) {
|
|
vec2[2] l1 = vec2[2](vec2(0), vec2(0));
|
|
vec2[2] l2 = vec2[2](vec2(0), vec2(0));
|
|
(l1)[0] = vec2(1.0);
|
|
l2 = l1;
|
|
l0 = l2;
|
|
return;
|
|
}
|