4 // require_extensions: GL_ARB_uniform_buffer_object
7 /* From the GL_ARB_uniform_buffer_object_spec:
9 * "Uniform block layout qualifiers can be declared at global
10 * scope, on a single uniform block, or on a single block member.
12 * At global scope, it is an error to use layout qualifiers to
13 * declare a variable. Instead, at global scope, layout
14 * qualifiers apply just to the keyword uniform and establish
15 * default qualification for subsequent blocks:"
19 #extension GL_ARB_uniform_buffer_object: require
21 layout(std140) vec4 a;