diff --git a/src/intel/compiler/brw_fs_builder.h b/src/intel/compiler/brw_fs_builder.h index 7bee2aa0b9b..0cafaf50e56 100644 --- a/src/intel/compiler/brw_fs_builder.h +++ b/src/intel/compiler/brw_fs_builder.h @@ -795,7 +795,7 @@ namespace brw { !gen_device_info_is_9lp(shader->devinfo)) return false; - if (type_sz(type > 4)) + if (type_sz(type) > 4) return true; if (opcode == BRW_OPCODE_MUL &&