mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
c36d2165e6
Fixes #1190
42 lines
627 B
GLSL
42 lines
627 B
GLSL
void F0(out vec4 l0) {
|
|
int l1 = 0;
|
|
int l2 = 0;
|
|
int l3 = 0;
|
|
int l4 = 0;
|
|
float l5 = float(0);
|
|
float l6 = float(0);
|
|
float l7 = float(0);
|
|
float l8 = float(0);
|
|
l1 = 5;
|
|
l2 = -5;
|
|
l3 = -5;
|
|
l4 = 5;
|
|
l5 = 5.0;
|
|
l6 = -5.0;
|
|
l7 = -5.0;
|
|
l8 = 5.0;
|
|
l0 = (vec4(l1, l2, l3, l4)) + (vec4(l5, l6, l7, l8));
|
|
return;
|
|
}
|
|
|
|
void F1(out vec4 l0) {
|
|
int l1 = 0;
|
|
int l2 = 0;
|
|
int l3 = 0;
|
|
int l4 = 0;
|
|
float l5 = float(0);
|
|
float l6 = float(0);
|
|
float l7 = float(0);
|
|
float l8 = float(0);
|
|
l1 = 5;
|
|
l2 = -5;
|
|
l3 = -5;
|
|
l4 = 5;
|
|
l5 = 5.0;
|
|
l6 = -5.0;
|
|
l7 = -5.0;
|
|
l8 = 5.0;
|
|
l0 = (vec4(l1, l2, l3, l4)) + (vec4(l5, l6, l7, l8));
|
|
return;
|
|
}
|