mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-29 13:18:55 +01:00
9a7dcb1077
Closes #2923
19 lines
245 B
GLSL
19 lines
245 B
GLSL
void F0(out float l0[1]);
|
|
void F1(out int l0[1]);
|
|
|
|
void F0(out float l0[1]) {
|
|
float l1[1];
|
|
l1[0] = float(0);
|
|
(l1)[0] = 1.0;
|
|
l0[0] = l1[0];
|
|
return;
|
|
}
|
|
|
|
void F1(out int l0[1]) {
|
|
int l1[1];
|
|
l1[0] = 0;
|
|
(l1)[0] = 1;
|
|
l0[0] = l1[0];
|
|
return;
|
|
}
|