wgpu/tests/cases/glsl_constant_expression.vert
2021-01-23 10:02:07 -05:00

9 lines
96 B
GLSL

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