4 // require_extensions: GL_ARB_shading_language_420pack GL_ARB_enhanced_layouts GL_ARB_shader_storage_buffer_object
7 // From the ARB_shading_language_420pack spec:
9 // "More than one layout qualifier may appear in a single declaration."
11 // ARB_enhanced_layouts spec says:
13 // "The *align* qualifier can only be used on blocks or block
14 // members, and only for blocks declared with *std140* or *std430*
18 #extension GL_ARB_shading_language_420pack: enable
19 #extension GL_ARB_enhanced_layouts : enable
20 #extension GL_ARB_shader_storage_buffer_object : enable
22 layout(std140) layout(row_major) buffer;
24 layout(align = 32) buffer b {