bgfx/3rdparty/glslang/Test/preprocessor.edge_cases.vert
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

16 lines
227 B
GLSL

#version 310 es
#define X(Y) /*
*/ Y + 2
#define Y(Z) 2 * Z// asdf
#define Z(Y) /*
*/ \
2 /*
*/ + 3 \
* Y
void main() {
gl_Position = vec4(X(3) + Y(4) + Z(2));
}