glslang-zig/glslang
Chow 9b620aa0c1
Add flag to check whether offset is implicit or explicit (#2031)
When we use unsized array in shader storage buffer, glslang calculate the offset during delcaring the block, it may lead to incorrect block offsets when its implicit array size changed.

So here is what we do:
1. For GLSL, we add flag explicitOffset in TQualifier, and set it when layout offset is specified explicitly
2. By using this flag we could tell difference as whether it is an explicit offset, and recalculate the block member offset conditionally in OpenGL.
2020-03-11 03:59:25 -06:00
..
CInterface add c wrapper for standalone ResourceLimits and remove that dependency from glslang_c_interface 2020-03-06 10:06:47 -05:00
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Include Add flag to check whether offset is implicit or explicit (#2031) 2020-03-11 03:59:25 -06:00
MachineIndependent Add flag to check whether offset is implicit or explicit (#2031) 2020-03-11 03:59:25 -06:00
OSDependent Fix typo in Web CMakeLists 2020-03-06 19:13:16 -08:00
Public Merge pull request #2038 from corporateshark/c_interface 2020-01-24 04:10:09 -07:00
CMakeLists.txt Split "is emscripten" config from "enable glslang.js" 2020-02-06 14:06:20 -08:00
updateGrammar Separate GLSLANG_WEB (min-size build) and Emscripten options 2019-09-17 23:18:03 -07:00