glslang-zig/glslang/MachineIndependent
Malcolm Bechard 0b66fa3b62
Shader interface matching rework to fix #2136 (#2156)
* rework how shader interface block naming rules are handled

* Fixes 2136

According to the spec, shader interfaces (uniform blocks, buffer
blocks, input blocks, output blocks) all should be matched up via
their block names across all compilation units, not instance names.
Also, all block names can be re-used between all 4 interface types
without conflict. This change makes it so all of these blocks are
matched and remapped using block name and not by instance name.
Additional the rule that matched uniform and buffer blocks must
either be anonymous or named (but not nessearily the same name) is
now imposed.

* add warning if instance names differ between matched shader interfaces

* Add test cases from #2137 which is now fixed as well.

* replace some tab characters with spaces

* buffer blocks and uniform blocks now share the same block namespace
2020-04-02 02:03:53 -06:00
..
preprocessor EXT_debug_printf - make escape sequences better match C/C++ 2020-03-10 10:23:07 -05:00
attribute.cpp Web: Turn off bracket-style attributes, reflection, and IO mapping. 2019-08-20 23:21:55 -06:00
attribute.h HLSL: Fix #1912: add attribute syntax for nonreadable/nonwritable 2019-09-29 19:16:25 -06:00
Constant.cpp Copyright update, mostly to trigger bots again. 2020-03-01 04:51:40 -07:00
gl_types.h Web: Generalize _EXTENSIONS* in SPIR-V back-end. 2019-08-20 23:21:55 -06:00
glslang.m4 GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00
glslang.y GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00
glslang_tab.cpp GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00
glslang_tab.cpp.h GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Remove unused variables. 2020-03-30 10:03:13 -04:00
Initialize.h Comment out params instead of removing 2019-09-11 08:59:47 -04:00
Intermediate.cpp copyright notice changes removed from unchanged files 2020-03-24 21:50:54 -04:00
intermOut.cpp Merge pull request #2139 from neslimsah/master 2020-03-25 08:18:33 -06:00
IntermTraverse.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
iomapper.cpp Merge pull request #2089 from Roy-AMD/Fix-iomapper-issue 2020-02-19 03:51:38 -07:00
iomapper.h Fix memory corruption in TGlslIoMapper 2020-02-02 11:31:49 +02:00
limits.cpp Web: Turn off includes, independent preprocessing path, fine tune all. 2019-08-20 23:21:56 -06:00
linkValidate.cpp Shader interface matching rework to fix #2136 (#2156) 2020-04-02 02:03:53 -06:00
LiveTraverser.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
localintermediate.h Shader interface matching rework to fix #2136 (#2156) 2020-04-02 02:03:53 -06:00
parseConst.cpp Fix MSVC build issue - remove invalid character 2020-03-19 15:31:31 -06:00
ParseContextBase.cpp Error assigns to objects of rayQueryEXT type. 2020-03-30 10:24:30 -07:00
ParseHelper.cpp .travis updated to origin, rayQueryCheck removed 2020-03-24 10:24:50 -04:00
ParseHelper.h copyright notice changes removed from unchanged files 2020-03-24 12:22:27 -04:00
parseVersions.h Move symbol builtin check to grammar stage 2020-01-08 14:07:50 +08:00
pch.cpp Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
pch.h Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
PoolAlloc.cpp Memory: Mak full explicit destructor functionality, techincally correctly. 2017-11-21 14:32:39 -07:00
propagateNoContraction.cpp Make file formatting comply with POSIX and Unix standards 2020-03-21 03:20:25 -04:00
propagateNoContraction.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
reflection.cpp printf format 2020-03-30 01:48:15 +03:00
reflection.h Make file formatting comply with POSIX and Unix standards 2020-03-21 03:20:25 -04:00
RemoveTree.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
RemoveTree.h [lumped builds] Add include guards (#pragma once) to header files that did not have any. 2017-05-10 16:58:38 +03:00
Scan.cpp accelerationStructureEXT - issue #2152 2020-03-26 19:32:52 -04:00
Scan.h SPV: Fix #1575, fix #1593: Support HLSL #line 2018-12-07 17:36:33 -07:00
ScanContext.h GL_EXT_buffer_reference 2019-01-07 12:36:13 -06:00
ShaderLang.cpp Fix #2163: improve comments for addProcess() and the preamble. 2020-03-30 00:27:31 -06:00
SymbolTable.cpp printf format 2020-03-30 01:48:15 +03:00
SymbolTable.h HLSL: Fix #1912: add attribute syntax for overriding image formats. 2019-09-28 11:39:15 -06:00
Versions.cpp GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00
Versions.h GL_EXT_ray_query updates 2020-03-19 16:46:30 -04:00