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 <kenneth@whitecape.org>
(cherry picked from commit 59e858861c)
This commit is contained in:
Eric Anholt 2013-03-13 12:17:25 -07:00 committed by Ian Romanick
parent 627e2669ab
commit d61b1fdad6

View file

@ -245,7 +245,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;