diff --git a/src/intel/compiler/brw_fs_opt_algebraic.cpp b/src/intel/compiler/brw_fs_opt_algebraic.cpp index 7ac956d36b2..9b8ed770e3a 100644 --- a/src/intel/compiler/brw_fs_opt_algebraic.cpp +++ b/src/intel/compiler/brw_fs_opt_algebraic.cpp @@ -668,10 +668,6 @@ brw_fs_opt_algebraic(fs_visitor &s) break; } - if (inst->src[0].type != BRW_TYPE_F || - inst->src[1].type != BRW_TYPE_F || - inst->src[2].type != BRW_TYPE_F) - break; if (inst->src[1].is_one()) { inst->opcode = BRW_OPCODE_ADD; inst->src[1] = inst->src[2];