projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/fs: Remove conditional mod when optimizing a SEL into a MOV.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_fs.cpp
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f149ab5e6c1c0cbefd84539efb99c9ce5c4bc507..c7c6accebf618b05e58c90a98cff3af67bba82a3 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-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;