Additional semantic checking for tessellation shaders and related clean up:
- non-arrayed geometry inputs and tessellation-control outputs - include user blocks in i/o array resizing based on primitive type - things belonging only to 'in' or 'out' are verified only on 'in' or 'out' - invocation number changing - move shader-scoped qualifier checking into its class - remove an incidental union of two levels of the node hierarchy in the yacc stack - remove layout(location=) default tracking when setting on a variable git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24551 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -23,7 +23,7 @@ void foo3()
|
||||
}
|
||||
|
||||
uniform sampler2D s2D;
|
||||
in vec2 coord;
|
||||
in vec2 coord[];
|
||||
uniform vec4 v4;
|
||||
|
||||
void foo4()
|
||||
@@ -37,7 +37,7 @@ void foo4()
|
||||
ivec2(2,1)
|
||||
};
|
||||
|
||||
vec4 v = textureGatherOffset(s2D, coord, offsets[i].xy);
|
||||
vec4 v = textureGatherOffset(s2D, coord[0], offsets[i].xy);
|
||||
|
||||
offsets[i].xy = ivec2(3); // ERROR
|
||||
v4.x = 3.2; // ERROR
|
||||
|
||||
Reference in New Issue
Block a user