glslang-zig/glslang
David Neto f28022c9f9
Avoid double-free in functions cloned for vulkan relaxed mode (#2987)
* Avoid double-free in functions cloned for vulkan relaxed mode

When rewriting function calls atomicCounterIncrement and
atoicCounterDecrement, clone the parameters so that the TParameter
'type' field is cloned.  This avoids double-free when both the original
and transformed functions are deleted by the parser.

Fixes a ubsan failure.
2022-08-02 18:07:01 -06:00
..
CInterface CInterface: Add OpSource support. 2022-06-07 01:13:21 +09:00
ExtensionHeaders Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics 2021-11-11 23:39:47 -07:00
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
HLSL handleEntryPointAttributes add EatInstance case 2022-05-21 17:00:24 +02:00
Include Add SPV_AMD_shader_early_and_late_fragment_tests 2022-07-18 14:20:18 +08:00
MachineIndependent Avoid double-free in functions cloned for vulkan relaxed mode (#2987) 2022-08-02 18:07:01 -06:00
OSDependent Initialize global mutex in a thread-safe manner 2021-11-08 14:47:32 +01:00
Public Merge pull request #2851 from chaoticbob/version-override 2022-03-24 17:51:54 -06:00
CMakeLists.txt cmake: Remove "conditions" from endif 2021-09-30 11:00:09 -06:00
updateGrammar Revert "Merge pull request #2330 from ShabbyX/optimize_for_angle" 2020-07-13 03:39:08 -06:00