summaryrefslogtreecommitdiff
path: root/spirv_msl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'spirv_msl.cpp')
-rw-r--r--spirv_msl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spirv_msl.cpp b/spirv_msl.cpp
index 2d4407a2..35c27508 100644
--- a/spirv_msl.cpp
+++ b/spirv_msl.cpp
@@ -1467,6 +1467,7 @@ string CompilerMSL::compile()
backend.support_small_type_sampling_result = true;
backend.supports_empty_struct = true;
backend.support_64bit_switch = true;
+ backend.boolean_in_struct_remapped_type = SPIRType::Short;
// Allow Metal to use the array<T> template unless we force it off.
backend.can_return_array = !msl_options.force_native_arrays;