Add redeclarations of built-in blocks.
Note: lots of test results changed due to listing the members of a block when printing types. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23682 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 330
|
||||
#version 330 compatibility
|
||||
|
||||
in vec4 inVar;
|
||||
out vec4 outVar;
|
||||
@@ -11,3 +11,14 @@ void main()
|
||||
gl_FragData[1] = inVar;
|
||||
int buffer = 4;
|
||||
}
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
|
||||
in gl_PerFragment {
|
||||
vec4 gl_Color;
|
||||
};
|
||||
|
||||
void foo()
|
||||
{
|
||||
vec4 c = gl_Color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user