projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e85f827
)
i965: Use the implied move in brw_math() in the new FS.
author
Eric Anholt
<eric@anholt.net>
Thu, 26 Aug 2010 21:09:54 +0000
(14:09 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 26 Aug 2010 21:55:44 +0000
(14:55 -0700)
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 57c5f553418c7d868522c8ad7f2685f70dbcc3e2..f856ee79fa6f5653578f9769016f93a9dd0b24c5 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-1175,7
+1175,6
@@
fs_visitor::generate_math(fs_inst *inst,
break;
}
- brw_MOV(p, brw_message_reg(2), src[0]);
if (inst->opcode == FS_OPCODE_POW) {
brw_MOV(p, brw_message_reg(3), src[1]);
}
@@
-1184,7
+1183,7
@@
fs_visitor::generate_math(fs_inst *inst,
op,
inst->saturate ? BRW_MATH_SATURATE_SATURATE :
BRW_MATH_SATURATE_NONE,
- 2,
brw_null_reg()
,
+ 2,
src[0]
,
BRW_MATH_DATA_VECTOR,
BRW_MATH_PRECISION_FULL);
}