mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
9be4ce928b
Updates #1847
29 lines
395 B
GLSL
29 lines
395 B
GLSL
void F0(in int l0, out int l1);
|
|
void F1(in float l0, out float l1);
|
|
void F2(out int l0);
|
|
void F3(out float l0);
|
|
|
|
void F0(in int l0, out int l1) {
|
|
l1 = (1) + (l0);
|
|
return;
|
|
}
|
|
|
|
void F1(in float l0, out float l1) {
|
|
l1 = (1.0) + (l0);
|
|
return;
|
|
}
|
|
|
|
void F2(out int l0) {
|
|
int l1 = 0;
|
|
F0(1, l1);
|
|
l0 = l1;
|
|
return;
|
|
}
|
|
|
|
void F3(out float l0) {
|
|
float l1 = float(0);
|
|
F1(1.0, l1);
|
|
l0 = l1;
|
|
return;
|
|
}
|