mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
b6a340a96f
Updates #2034 Updates #2188
43 lines
630 B
GLSL
43 lines
630 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(l0, l1, l2, 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(l0, l1, l2, l3)) + (vec4(l4, l5, l6, l7));
|
|
}
|