Add more tests for built-in variables.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21893 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-06-07 18:54:19 +00:00
parent 0fbb0c4930
commit 3ce5745ade
3 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,9 @@ void main()
dvec2 boo2; // ERROR
dvec3 boo3; // ERROR
dvec4 boo4; // ERROR
f += gl_FragCoord.y;
gl_FragDepth = f;
}
float imageBuffer; // ERROR, reserved

View File

@ -31,6 +31,9 @@ void main()
mat3x2 op = outerProduct(v2, v3);
gl_Position = m44[2];
gl_PointSize = v2.y;
#ifdef GL_ES
#error GL_ES is set
#else

View File

@ -35,4 +35,5 @@ uniform barBlockArray {
void main()
{
texture(s.sampler, vec3(inst.ni, bv.y, insts[2].nbv.z));
insts[s.v.x]; // ERROR
}