Minor redundant nit.

This commit is contained in:
Hans-Kristian Arntzen 2021-01-04 12:07:48 +01:00
parent a1c784f002
commit 1a38fec382

View File

@ -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); 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 || 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)) if (!is_builtin || has_active_builtin(builtin, storage))
{ {