|
This adds tests to check that no link error occurs when two
differently named but equally instanced interface blocks differ in
some way.
From page 35 (page 41 of the PDF) of the GLSL 1.50, v11, spec:
"The block name (block-name) is used to match interfaces: an output
block of one pipeline stage will be matched to an input block
with the same name in the subsequent pipeline stage. For uniform
blocks, the application uses the block name to identify the
block.
...
Outside the shading language (i.e., in the API), members are
similarly identified except the block name is always used in
place of the instance name (API accesses are to interfaces, not
to shaders)."
v2: Simplified comments, as suggested by Timothy.
Signed-off-by: Andres Gomez <agomez@igalia.com>
Cc: Timothy Arceri <tarceri@itsqueeze.com>
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Antia Puentes <apuentes@igalia.com>
|