mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 12:18:55 +01:00
b6a340a96f
Updates #2034 Updates #2188
29 lines
426 B
GLSL
29 lines
426 B
GLSL
vec4 F0(in vec2 l0);
|
|
vec4 F1(in vec2 l0);
|
|
void F2(out vec2 l0, out vec2 l1);
|
|
|
|
vec4 F0(in vec2 l0) {
|
|
vec2 l1 = vec2(0);
|
|
vec2 l2 = vec2(0);
|
|
l1 = l0;
|
|
l2 = l0;
|
|
return vec4(l1, l2);
|
|
}
|
|
|
|
vec4 F1(in vec2 l0) {
|
|
vec2 l1 = vec2(0);
|
|
vec2 l2 = vec2(0);
|
|
vec2 l3 = vec2(0);
|
|
vec2 l4 = vec2(0);
|
|
F2(l1, l2);
|
|
l3 = l1;
|
|
l4 = l2;
|
|
return vec4(l3, l4);
|
|
}
|
|
|
|
void F2(out vec2 l0, out vec2 l1) {
|
|
l0 = vec2(0.0);
|
|
l1 = vec2(0.0);
|
|
return;
|
|
}
|