Files
filament/third_party/glslang/Test/preprocessor.edge_cases.vert
Romain Guy 9f2592ed9d Update SPIRV libraries (#99)
* Update SPIRV libraries

- Update `spirv-cross`
- Update `spirv-tools`
- Update `glslang`

`spirv-tools` contains a fix for an issue we reported (unnecessary promotions to highp in certain expressions).

* Add SPIRV-Tools dependency to matinfo
2018-08-15 12:59:17 -07: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));
}