diff --git a/spirv_msl.cpp b/spirv_msl.cpp index 3d6a7d37..a3a21061 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -2819,7 +2819,7 @@ void CompilerMSL::add_variable_to_interface_block(StorageClass storage, const st add_tess_level_input_to_interface_block(ib_var_ref, ib_type, var); } else if (var_type.basetype == SPIRType::Boolean || var_type.basetype == SPIRType::Char || - type_is_integral(var_type) || type_is_floating_point(var_type) || var_type.basetype == SPIRType::Boolean) + type_is_integral(var_type) || type_is_floating_point(var_type)) { if (!is_builtin || has_active_builtin(builtin, storage)) {