diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-04-14 14:13:13 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-04-19 13:10:49 +0300 |
commit | 23da445bd44afe588d6ccf61dc871b6ddac21867 (patch) | |
tree | 5f461faecca651151a87dad59093646f4fbac726 /spirv_msl.hpp | |
parent | b442500204b2dd6e0aa97f0dfb250901ff82a871 (diff) |
MSL: Emit multiple threadgroup slices for multi-patch.
Multiple patches can run in the same workgroup when using multi-patch
mode, so we need to allocate enough storage to avoid false sharing.
Diffstat (limited to 'spirv_msl.hpp')
-rw-r--r-- | spirv_msl.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_msl.hpp b/spirv_msl.hpp index 7b1e6fc6..3cc93d51 100644 --- a/spirv_msl.hpp +++ b/spirv_msl.hpp @@ -806,6 +806,7 @@ protected: bool allow_local_declaration = false; }; + void emit_local_masked_variable(const SPIRVariable &masked_var, bool strip_array); void add_variable_to_interface_block(spv::StorageClass storage, const std::string &ib_var_ref, SPIRType &ib_type, SPIRVariable &var, InterfaceBlockMeta &meta); void add_composite_variable_to_interface_block(spv::StorageClass storage, const std::string &ib_var_ref, |