diff options
author | Andres Gomez <[email protected]> | 2017-02-20 17:20:58 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2017-03-27 12:47:21 +0300 |
commit | 6255cc654d372352f060da8f9622bae56d6e8af5 (patch) | |
tree | 9323bc1aa5a88d976842a0fd51451d2b5799dfc1 /src/intel | |
parent | 40b09ed15c708629b7fb3f30baf0f73d376f8ca0 (diff) |
glsl: Interface Block instances don't need linking validation
From page 45 (page 52 of the PDF) of the GLSL ES 3.00 v.6 spec:
" When instance names are present on matched block names, it is
allowed for the instance names to differ; they need not match for
the blocks to match.
From page 51 (page 57 of the PDF) of the GLSL 4.30 v.8 spec:
" When instance names are present on matched block names, it is
allowed for the instance names to differ; they need not match for
the blocks to match."
Therefore, no cross linking validation is needed for the instance name
of an Interface Block.
This patch will make that no link error will be reported on a program
like this:
"# VS
layout(binding = 1) Block1 {
vec4 color;
} uni_block;
...
# FS
layout(binding = 2) Block2 {
vec4 color;
} uni_block;
..."
Fixes GL45-CTS.enhanced_layouts.ssb_layout_qualifier_conflict
Signed-off-by: Andres Gomez <[email protected]>
Cc: Timothy Arceri <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions