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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user