glslang-zig/glslang/MachineIndependent
Ben Clayton 775864ef74 Simplify PoolAlloc with use of thread_local.
glslang is using C++ 11, which has first class support for variables of the `thread_local` storage class.

By dropping the use of the `OS_[GS]etTLSValue`, we can simplify the logic, and have it support a thread-local default allocator if none is provided.

Issue: #2346
2023-07-26 18:11:41 -06:00
..
preprocessor HLSL: support binary literals 2023-07-18 09:35:36 -06:00
attribute.cpp Fix GCC warnings 2021-08-31 16:40:35 -06:00
attribute.h Implement GL_EXT_subgroup_uniform_control_flow. 2021-06-07 10:21:05 -04:00
Constant.cpp GLSL: Fix integer overflow warnings in Constant.cpp 2023-02-02 11:20:54 -07:00
gl_types.h 1. fix macro definition value for unsinged-int64-vector, according to kronos spec at https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_int64.txt; 2. fix typo in reflection 2021-03-15 16:54:31 +08:00
glslang.m4 Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
glslang.y Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
glslang_tab.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
glslang_tab.cpp.h Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
InfoSink.cpp Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
Initialize.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
Initialize.h Comment out params instead of removing 2019-09-11 08:59:47 -04:00
Intermediate.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
intermOut.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
IntermTraverse.cpp 8. io mapping refine & qualifier member check & resolver expand (#2396) 2020-11-03 13:34:19 -07:00
iomapper.cpp Rework how auto push_constant upgrading works a bit. 2023-07-17 14:42:20 -04:00
iomapper.h Rework how auto push_constant upgrading works a bit. 2023-07-17 14:42:20 -04:00
limits.cpp Fix issue for new unique id system. Add level bits to help verifying symbols and split symbol tables. 2021-02-15 20:35:20 +08:00
linkValidate.cpp Fix maybe-uninitialized warning 2023-07-18 12:05:43 -06:00
LiveTraverser.h also search global variables assignment for live variables 2020-07-20 18:43:00 -04:00
localintermediate.h Correct ctor order to make '-Wreorder-ctor' pass 2023-05-09 12:39:09 -06:00
parseConst.cpp Use nullptr where possible instead of NULL or 0 2022-11-30 09:33:28 -07:00
ParseContextBase.cpp Fix potential NULL dereference 2023-02-20 18:31:34 -05:00
ParseHelper.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
ParseHelper.h Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
parseVersions.h Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
pch.h Use precompiled headers for some glslang projects 2018-10-31 15:38:08 -05:00
PoolAlloc.cpp Simplify PoolAlloc with use of thread_local. 2023-07-26 18:11:41 -06:00
propagateNoContraction.cpp Remove useless semicolons 2023-07-24 15:36:54 -06: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 Use nullptr where possible instead of NULL or 0 2022-11-30 09:33:28 -07:00
reflection.h Remove GLSLANG_ANGLE 2022-11-08 15:11:36 -05: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 Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06: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 potential NULL dereference 2023-02-20 17:33:15 -05:00
SpirvIntrinsics.cpp Fix typo in error message 2023-07-26 10:09:43 -06:00
SymbolTable.cpp Fix -Wmaybe-uninitialized warnings 2023-06-12 07:52:56 -07:00
SymbolTable.h Merge pull request #3066 from ShchchowAMD/shaochi/bindless 2022-12-07 14:38:31 -07:00
Versions.cpp Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00
Versions.h Implement support for GL_KHR_cooperative_matrix extension 2023-07-26 16:39:17 -06:00