Implement location overlap error checking.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24376 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-12-05 20:07:56 +00:00
parent 2f15597a7e
commit 0b39137009
13 changed files with 146 additions and 12 deletions

View File

@@ -13,3 +13,7 @@ void main()
p = pos;
q[1] = pos;
}
layout(location = 40) out float ca[4];
layout(location = 41) out float cb[2]; // ERROR, overlap
layout(location = 39) out float cc[6]; // ERROR, overlap