mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
a43efb66b2
Fixes #1267
45 lines
672 B
GLSL
45 lines
672 B
GLSL
void F0(out vec4 l0);
|
|
void F1(out vec4 l0);
|
|
|
|
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;
|
|
}
|