wgpu/test-data/glsl_constant_expression.vert
Kristoffer Søholm 6c062087fa
Initial GLSL constant evaluation implementation (#94)
Adds constant evaluation for addition, and uses it for globals and array
specifiers.
2020-07-09 20:52:13 -04:00

9 lines
96 B
GLSL

#version 450 core
const int N = 5;
float foo[2+N];
void main() {
gl_Position = vec4(1);
}