mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-21 10:48:14 +00:00
c555dddd53
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31508 e7fa87d3-cd2b-0410-9028-fcbf551c1848
16 lines
227 B
GLSL
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));
|
|
}
|