yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John Kessenichglslang preprocessing: Add -E option to print out preprocessed GLSL, and do the work needed to generate a preprocessed stream. From Andrew Woloszyn <awoloszyn@google.com>.c555dddd

main
227 B15 linesraw
1#version 310 es
2#define X(Y) /*
3                */ Y + 2
4
5#define Y(Z) 2 * Z// asdf
6
7#define Z(Y) /*
8                */ \
9  2 /*
10       */ + 3 \
11    * Y
12
13void main() {
14  gl_Position = vec4(X(3) + Y(4) + Z(2));
15}