Put in correct rules for multiple versions of qualification and typing of inputs and outputs. Also, removed EvqAttribute, merging it with EvqVaryingIn.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@21064 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -23,10 +23,19 @@ in vec2 c2D;
|
||||
in vec3 c3D;
|
||||
in vec4 c4D;
|
||||
|
||||
in int ic1D;
|
||||
in ivec2 ic2D;
|
||||
in ivec3 ic3D;
|
||||
in ivec4 ic4D;
|
||||
flat in int ic1D;
|
||||
flat in ivec2 ic2D;
|
||||
flat in ivec3 ic3D;
|
||||
flat in ivec4 ic4D;
|
||||
|
||||
in sampler2D bads; // ERROR
|
||||
|
||||
struct s {
|
||||
int i;
|
||||
sampler2D s; // ERROR
|
||||
};
|
||||
|
||||
out s badout; // ERROR
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
@@ -7,6 +7,8 @@ uniform mat4x4 m44;
|
||||
in vec3 v3;
|
||||
in vec2 v2;
|
||||
|
||||
in vec4 bad[10];
|
||||
|
||||
void main()
|
||||
{
|
||||
int id = gl_VertexID + gl_InstanceID;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#version 300 es
|
||||
|
||||
in uvec2 t;
|
||||
in uvec2 badu; // ERROR
|
||||
flat in uvec2 t;
|
||||
in float f;
|
||||
in vec2 tc;
|
||||
|
||||
in bool bad; // ERROR
|
||||
uniform uvec4 v;
|
||||
uniform int i;
|
||||
uniform bool b;
|
||||
|
||||
Reference in New Issue
Block a user