Add productions/data for about 14 qualifiers (versions 1.2 through 4.3). Fixed some case issues for rect/array keywords.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20742 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-03-01 21:53:13 +00:00
parent 4b67103b02
commit ca8899c9ae
8 changed files with 205 additions and 68 deletions

View File

@@ -9,6 +9,9 @@ float precision;
in vec4 i;
out vec4 o;
uniform sampler2D s2D;
centroid varying vec2 centTexCoord;
uniform mat4x2 m;
struct s {
@@ -58,4 +61,6 @@ void main()
b = a; // ERROR
b = b + f; // ERROR
f |= b; // ERROR
gl_FragColor = texture2D(s2D, centTexCoord);
}

18
Test/120.vert Normal file
View File

@@ -0,0 +1,18 @@
#version 120
in vec4 i;
out vec4 o;
attribute vec2 attv2;
attribute vec4 attv4;
uniform sampler2D s2D;
invariant varying vec2 centTexCoord;
invariant gl_Position;
centroid centroid foo;
void main()
{
centTexCoord = attv2;
gl_Position = attv4;
}

View File

@@ -6,6 +6,7 @@ versionsClean.frag
versionsClean.vert
versionsErrors.frag
versionsErrors.vert
120.vert
120.frag
130.frag
140.frag