diff options
author | Eduardo Lima Mitev <[email protected]> | 2017-03-05 20:28:43 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2017-10-30 18:10:39 +0100 |
commit | f9de7f55969e981f6e98a41fce04bc3a2a8280eb (patch) | |
tree | 76be292c6d07cac2a20ffb5fd2645d10b121df4e /.dir-locals.el | |
parent | f5fe99ac85e15b705612bd9e7599cc974c2a121b (diff) |
glsl/linker: Check that re-declared, inter-shader built-in blocks match
>From GLSL 4.5 spec, section "7.1 Built-In Language Variables", page 130 of
the PDF states:
"If multiple shaders using members of a built-in block belonging to
the same interface are linked together in the same program, they must
all redeclare the built-in block in the same way, as described in
section 4.3.9 “Interface Blocks” for interface-block matching, or a
link-time error will result."
Fixes:
* GL45-CTS.CommonBugs.CommonBug_PerVertexValidation
v2 (Neil Roberts):
Explicitly look for gl_PerVertex in the symbol tables instead of
waiting to find a variable in the interface.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102677
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Eduardo Lima Mitev <[email protected]>
Signed-off-by: Neil Roberts <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions