1 /* Tests that no link error occurs for interfaces blocks with matching
2 * instances names but mismatching binding qualifiers and block names.
4 * GLSLangSpec.1.50.11, 4.3.7 Interface Blocks:
5 * "The block name (block-name) is used to match interfaces: an output
6 * block of one pipeline stage will be matched to an input block with
7 * the same name in the subsequent pipeline stage. For uniform blocks,
8 * the application uses the block name to identify the block.
12 * Outside the shading language (i.e., in the API), members are
13 * similarly identified except the block name is always used in place
14 * of the instance name (API accesses are to interfaces, not to
20 GL_ARB_shading_language_420pack
24 #extension GL_ARB_shading_language_420pack: require
26 layout(binding = 0) uniform blockA {
37 #extension GL_ARB_shading_language_420pack: require
39 layout(binding = 1) uniform blockB {