glslang/Test/contradict_0.geom
Malcolm Bechard 6f723ebbe3
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.
2020-05-21 00:10:33 -06:00

14 lines
191 B
GLSL
Executable File

#version 330
layout(points) in;
layout(triangle_strip, max_vertices = 4) out;
float getV();
void main (void)
{
float v = getV();
EndPrimitive();
EndPrimitive();
}