i965/fs: Remove conditional mod when optimizing a SEL into a MOV.

Missed in commit ca675b73, but got right in the companion commit 3c28b2c0.
This commit is contained in:
Matt Turner 2015-02-10 21:36:26 -08:00
parent e68b67b53f
commit 09d6ea9ae3
1 changed files with 1 additions and 0 deletions

View File

@ -2393,6 +2393,7 @@ fs_visitor::opt_algebraic()
if (inst->src[1].fixed_hw_reg.dw1.f >= 1.0f) {
inst->opcode = BRW_OPCODE_MOV;
inst->src[1] = reg_undef;
inst->conditional_mod = BRW_CONDITIONAL_NONE;
progress = true;
}
break;