1 # Tests that no link error occurs for interfaces blocks with matching
2 # instances names but mismatching memory qualifier 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
23 layout(column_major) uniform blockA {
29 gl_Position = inst.m[0];
35 layout(row_major) uniform blockB {