bgfx/3rdparty/glslang/Test/missingBodies.vert
Branimir Karadžić 1c392b8c94 Updated glslang.
2016-12-17 12:38:22 -08:00

25 lines
289 B
GLSL

#version 450
void bar();
void foo() { bar(); }
void B();
void C(int);
void C(int, int) { }
void C(bool);
void A() { B(); C(1); C(true); C(1, 2); }
void main()
{
foo();
C(true);
}
int ret1();
int f1 = ret1();
int ret2() { return 3; }
int f2 = ret2();