diff options
author | Chip Davis <chip@holochip.com> | 2022-11-08 20:04:36 -0800 |
---|---|---|
committer | Chip Davis <chip@holochip.com> | 2022-11-20 02:08:37 -0800 |
commit | 5547b25afe15a1e4c47858563fd952d25d8858be (patch) | |
tree | 8b2a10f040838eb8455c979d4da35d5ed478672a /spirv_msl.hpp | |
parent | 06ef3de0026de5202eaabf4b86fcfff13b822b60 (diff) | |
download | SPIRV-Cross-5547b25afe15a1e4c47858563fd952d25d8858be.tar.gz SPIRV-Cross-5547b25afe15a1e4c47858563fd952d25d8858be.tar.bz2 SPIRV-Cross-5547b25afe15a1e4c47858563fd952d25d8858be.zip |
Interleave undef values with constants and types.
Undef values may be of struct type and may be used in constants.
Therefore, they must be interleaved with constants and types.
Fixes the rest of the Vulkan CTS test
`dEQP-VK.spirv_assembly.instruction.compute.opundef.undefined_spec_constant_composite`.
(Please excuse the churn in the reference output; it's an inevitable
result of this change.)
Diffstat (limited to 'spirv_msl.hpp')
-rw-r--r-- | spirv_msl.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spirv_msl.hpp b/spirv_msl.hpp index c7701b20..2a165be5 100644 --- a/spirv_msl.hpp +++ b/spirv_msl.hpp @@ -820,7 +820,6 @@ protected: std::string to_member_reference(uint32_t base, const SPIRType &type, uint32_t index, bool ptr_chain) override; std::string to_qualifiers_glsl(uint32_t id) override; void replace_illegal_names() override; - void declare_undefined_values() override; void declare_constant_arrays(); void replace_illegal_entry_point_names(); |