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:
parent
0fbb0c4930
commit
3ce5745ade
@ -71,6 +71,9 @@ void main()
|
|||||||
dvec2 boo2; // ERROR
|
dvec2 boo2; // ERROR
|
||||||
dvec3 boo3; // ERROR
|
dvec3 boo3; // ERROR
|
||||||
dvec4 boo4; // ERROR
|
dvec4 boo4; // ERROR
|
||||||
|
|
||||||
|
f += gl_FragCoord.y;
|
||||||
|
gl_FragDepth = f;
|
||||||
}
|
}
|
||||||
|
|
||||||
float imageBuffer; // ERROR, reserved
|
float imageBuffer; // ERROR, reserved
|
||||||
|
@ -31,6 +31,9 @@ void main()
|
|||||||
|
|
||||||
mat3x2 op = outerProduct(v2, v3);
|
mat3x2 op = outerProduct(v2, v3);
|
||||||
|
|
||||||
|
gl_Position = m44[2];
|
||||||
|
gl_PointSize = v2.y;
|
||||||
|
|
||||||
#ifdef GL_ES
|
#ifdef GL_ES
|
||||||
#error GL_ES is set
|
#error GL_ES is set
|
||||||
#else
|
#else
|
||||||
|
@ -35,4 +35,5 @@ uniform barBlockArray {
|
|||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
texture(s.sampler, vec3(inst.ni, bv.y, insts[2].nbv.z));
|
texture(s.sampler, vec3(inst.ni, bv.y, insts[2].nbv.z));
|
||||||
|
insts[s.v.x]; // ERROR
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user