mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 06:57:27 +01:00
853c1f2b92
Some built-in functions like dFdx is not available in a vertex shader, then a function that calls such built-in function should not be in a vertex shader. Closes #1701
16 lines
139 B
GLSL
16 lines
139 B
GLSL
void F2(void);
|
|
void F3(void);
|
|
|
|
void F2(void) {
|
|
}
|
|
|
|
void F3(void) {
|
|
F2();
|
|
}
|
|
|
|
void main(void) {
|
|
F3();
|
|
gl_FragColor = vec4(0.0);
|
|
return;
|
|
}
|