Prevent crash when bad shader redeclares built-in array names it is not supposed to redeclare.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26520 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2014-05-06 22:58:55 +00:00
parent 8a1a4a7a8b
commit d7dfe2c2b2
4 changed files with 11 additions and 2 deletions

View File

@@ -97,3 +97,5 @@ layout(location = 24) in vec4 ivlc[]; // ERROR
layout(location = 23) out vec4 ovla[2];
layout(location = 24) out vec4 ovlb[2]; // ERROR
in float gl_TessLevelOuter[4]; // ERROR