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:
John Kessenich
2013-10-11 19:46:10 +00:00
parent 9d30218fb6
commit a4ea1313c3
9 changed files with 60 additions and 39 deletions

View File

@@ -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;