Turn on non-uniform blocks (in/out/buffer), and prevent new stages from working with "no profile" (before 150) shaders.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23470 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -108,8 +108,8 @@ flat out vec4 gl_FrontColor; // output from geometry shader
|
||||
|
||||
invariant gl_Position; // make existing gl_Position be invariant
|
||||
|
||||
out vec3 Color;
|
||||
invariant Color; // make existing Color be invariant
|
||||
out vec3 ColorInv;
|
||||
invariant ColorIvn; // make existing Color be invariant
|
||||
|
||||
invariant centroid out vec3 Color4;
|
||||
precise out vec4 position;
|
||||
@@ -124,9 +124,9 @@ coherent buffer Block {
|
||||
vec4 member2;
|
||||
};
|
||||
|
||||
buffer Block2 {
|
||||
coherent readonly vec4 member1;
|
||||
coherent vec4 member2;
|
||||
buffer Block2a {
|
||||
coherent readonly vec4 member1A;
|
||||
coherent vec4 member2A;
|
||||
};
|
||||
|
||||
shared vec4 shv;
|
||||
|
||||
Reference in New Issue
Block a user