mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-22 03:40:29 +00:00

Instead of crashing, exit early from the implicit-sized-array-size-update routine so we can get to a real error message which is emitted later. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31109 e7fa87d3-cd2b-0410-9028-fcbf551c1848
9 lines
153 B
GLSL
9 lines
153 B
GLSL
#version 310 es
|
|
layout (location=0) uniform Block {
|
|
highp int a[];
|
|
} uni;
|
|
layout (location=0) out highp int o;
|
|
void main() {
|
|
o = uni.a[2];
|
|
}
|