Desktop array size limit checking for gl_ClipDistance[] and gl_TexCoord[].

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24397 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-12-06 23:57:42 +00:00
parent 64bcb105c9
commit 5f15d4224a
8 changed files with 40 additions and 8 deletions

View File

@@ -40,3 +40,5 @@ struct S {
layout(location = 10) out S cs[2]; // 10 through 10 + 2 * 22 - 1 = 53
layout(location = 54) out float cf;
layout(location = 53) out float cg; // ERROR, collision at 31
float gl_ClipDistance[17]; // ERROR, size too big