glslang-zig/glslang
Jeff Bolz 3fd1232665 Improved fix for buffer reference constants
This is an alternate fix for the issue described in commit be63facd, whose
solution didn't work if there were non-trivial operations involved in computing
a constant initializer which caused the 'constant unfolding' code to kick in
(addConstantReferenceConversion). Instead, this change does the 'unfolding'
later in createSpvConstantFromConstUnionArray. If a reference-type constant has
survived that long, then folding is already done, this must be a 'real' (inside
a function) use of the constant, and it should be safe to unfold and apply the
bitcast.
2019-03-06 09:28:29 -06:00
..
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Include Handle buffer references vs 'const' 2019-03-04 12:46:11 -06:00
MachineIndependent Improved fix for buffer reference constants 2019-03-06 09:28:29 -06:00
OSDependent Port Unix/ossource.cpp to Fuchsia 2019-01-30 15:15:11 -05:00
Public Add option to unwrap I/O block aggregates in reflection 2019-02-11 11:53:52 +00:00
CMakeLists.txt Rename PCH macro to glslang_pch (to avoid name collision) and update to latest spirv-tools 2018-11-07 09:35:31 -06:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00