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:
@@ -71,7 +71,7 @@ uniform vec3 color = vec3(0.7, 0.7, 0.2); // value assigned at link time
|
||||
in Material {
|
||||
smooth in vec4 Color1; // legal, input inside in block
|
||||
smooth vec4 Color2; // legal, 'in' inherited from 'in Material'
|
||||
vec2 TexCoord; // legal, TexCoord is an input
|
||||
vec2 TexCoordA; // legal, TexCoord is an input
|
||||
uniform float Atten; // illegal, mismatched storage qualifier
|
||||
|
||||
};
|
||||
@@ -83,7 +83,7 @@ in Light {
|
||||
in ColoredTexture {
|
||||
vec4 Color;
|
||||
vec2 TexCoord;
|
||||
} Material; // instance name
|
||||
} Materiala; // instance name
|
||||
vec3 Color; // different Color than Material.Color
|
||||
|
||||
in vec4 gl_FragCoord; // redeclaration that changes nothing is allowed
|
||||
|
||||
Reference in New Issue
Block a user