Commit 3ce5745a by John Kessenich

Add more tests for built-in variables.

parent 0fbb0c49
......@@ -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
......
......@@ -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
......
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment