diff options
author | Eric Anholt <[email protected]> | 2013-03-13 12:17:25 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-01 16:17:24 -0700 |
commit | 59e858861caad2649f4c282eb277a7fc6202ab65 (patch) | |
tree | ff9ccda8f29c400e05348f65232f210b15acbe7d | |
parent | 1d6ead38042cc0d1e667d8ff55937c1e32d108b1 (diff) |
i965/fs: Remove creation of a MOV instruction that's never used.
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 <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index cba116785ea..48f1f05304c 100644 --- 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; |