fix incorrect error when multiple compilation units don't declare layouts (#2238)
when using multiple compilation units, input/output layouts don't need to be declared in every unit.
This commit is contained in:
13
Test/contradict_0.geom
Executable file
13
Test/contradict_0.geom
Executable file
@@ -0,0 +1,13 @@
|
||||
#version 330
|
||||
|
||||
layout(points) in;
|
||||
layout(triangle_strip, max_vertices = 4) out;
|
||||
|
||||
float getV();
|
||||
|
||||
void main (void)
|
||||
{
|
||||
float v = getV();
|
||||
EndPrimitive();
|
||||
EndPrimitive();
|
||||
}
|
||||
Reference in New Issue
Block a user