4 // require_extensions: GL_ARB_separate_shader_objects 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."
15 #extension GL_ARB_separate_shader_objects : enable
16 #extension GL_ARB_shading_language_420pack: enable
18 layout(location=2) layout(location=1) out vec3 var;