Files
glslang/Test/310implicitSizeArrayError.vert
2017-12-16 10:07:22 -07:00

9 lines
152 B
GLSL

#version 310 es
layout (binding=0) uniform Block {
highp int a[];
} uni;
layout (location=0) out highp int o;
void main() {
o = uni.a[2];
}