4 // require_extensions: GL_ARB_shading_language_420pack
8 // From the ARB_shading_language_420pack spec:
10 // "More than one layout qualifier may appear in a single declaration. If
11 // the same layout-qualifier-name occurs in multiple layout qualifiers for
12 // the same declaration, the last one overrides the former ones."
14 // From section 4.3.8.2(Output Layout Qualifiers) of the GLSL 1.50 spec says:
16 // "All geometry shader output layout declarations in a program must declare the
17 // same layout and same value for max_vertices."
20 #extension GL_ARB_shading_language_420pack: enable
23 layout(line_strip, max_vertices=2) layout(max_vertices=3) out;
27 layout(max_vertices=3) out;