From 1a38fec3822e35df1641a2dbeb42decd30e226ef Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Mon, 4 Jan 2021 12:07:48 +0100 Subject: [PATCH] Minor redundant nit. --- spirv_msl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {