diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-02-17 22:46:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 22:46:06 +0300 |
commit | 621884d70917038caf7509f7b1b3c143807ff43f (patch) | |
tree | fb7f7a73df13d30b3533eea259f8f0ec7f42ff78 /spirv_msl.hpp | |
parent | da238e5f1211bf20de75c3419c32b8e8d00e46cf (diff) | |
parent | 85704f70bcd9c25c9912796a86adb23fe8fdaa77 (diff) |
Merge pull request #1622 from KhronosGroup/fix-1619
MSL: Handle load and store to TessLevel array in TESC.
Diffstat (limited to 'spirv_msl.hpp')
-rw-r--r-- | spirv_msl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spirv_msl.hpp b/spirv_msl.hpp index 23777b89..6efe453e 100644 --- a/spirv_msl.hpp +++ b/spirv_msl.hpp @@ -837,6 +837,8 @@ protected: uint32_t get_or_allocate_builtin_input_member_location(spv::BuiltIn builtin, uint32_t type_id, uint32_t index, uint32_t *comp = nullptr); + uint32_t get_physical_tess_level_array_size(spv::BuiltIn builtin) const; + // MSL packing rules. These compute the effective packing rules as observed by the MSL compiler in the MSL output. // These values can change depending on various extended decorations which control packing rules. // We need to make these rules match up with SPIR-V declared rules. |