projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6ead3
)
i965/fs: Remove creation of a MOV instruction that's never used.
author
Eric Anholt
<eric@anholt.net>
Wed, 13 Mar 2013 19:17:25 +0000
(12:17 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 1 Apr 2013 23:17:24 +0000
(16:17 -0700)
We weren't inserting it into the list, so it did nothing. This line was
replaced by the MOV/MUL block above.
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
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 cba116785ea5123421c1e48328fd4a5fb5cd12cd..48f1f05304c0e76e4b4a44969a63e3318ecf6497 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-253,7
+253,6
@@
fs_visitor::VARYING_PULL_CONSTANT_LOAD(fs_reg dst, fs_reg surf_index,
} else {
instructions.push_tail(MUL(mrf, offset, fs_reg(4)));
}
- inst = MOV(mrf, offset);
inst = new(mem_ctx) fs_inst(FS_OPCODE_VARYING_PULL_CONSTANT_LOAD,
dst, surf_index);
inst->header_present = header_present;