mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
88be4c5b7c
Closes #2712
43 lines
686 B
GLSL
43 lines
686 B
GLSL
vec4 F0(void);
|
|
vec4 F1(void);
|
|
|
|
vec4 F0(void) {
|
|
int l0 = 0;
|
|
int l1 = 0;
|
|
int l2 = 0;
|
|
int l3 = 0;
|
|
float l4 = float(0);
|
|
float l5 = float(0);
|
|
float l6 = float(0);
|
|
float l7 = float(0);
|
|
l0 = 5;
|
|
l1 = -5;
|
|
l2 = -5;
|
|
l3 = 5;
|
|
l4 = 5.0;
|
|
l5 = -5.0;
|
|
l6 = -5.0;
|
|
l7 = 5.0;
|
|
return (vec4(float(l0), float(l1), float(l2), float(l3))) + (vec4(l4, l5, l6, l7));
|
|
}
|
|
|
|
vec4 F1(void) {
|
|
int l0 = 0;
|
|
int l1 = 0;
|
|
int l2 = 0;
|
|
int l3 = 0;
|
|
float l4 = float(0);
|
|
float l5 = float(0);
|
|
float l6 = float(0);
|
|
float l7 = float(0);
|
|
l0 = 5;
|
|
l1 = -5;
|
|
l2 = -5;
|
|
l3 = 5;
|
|
l4 = 5.0;
|
|
l5 = -5.0;
|
|
l6 = -5.0;
|
|
l7 = 5.0;
|
|
return (vec4(float(l0), float(l1), float(l2), float(l3))) + (vec4(l4, l5, l6, l7));
|
|
}
|