GLSL: Fix #1300: Can redeclare without size a sized built-in block array.
This commit is contained in:
@@ -51,7 +51,7 @@ patch sample in vec3 badp4; // ERROR
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
|
||||
in gl_PerVertex // ERROR, no size
|
||||
in gl_PerVertex
|
||||
{
|
||||
float gl_ClipDistance[1];
|
||||
} gl_in[];
|
||||
|
||||
Reference in New Issue
Block a user