i965/fs: Restrict optimization that would fail for gen7's SENDs from GRFs
authorEric Anholt <eric@anholt.net>
Fri, 9 Nov 2012 19:48:20 +0000 (11:48 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 5 Dec 2012 00:58:46 +0000 (16:58 -0800)
commitf22a909a080d603db122ac8517a80bd8f4006fe2
treef9bfb16691e52559e186a1d3fe6b58113f7d7a6e
parent9156d0cba1090c4bcc3a6c0c7b2ad8921a295be4
i965/fs: Restrict optimization that would fail for gen7's SENDs from GRFs

v2: Fix SNB math bug in register_coalesce() where I was looking at the
    instruction to be removed, not the instruction to be copy propagated
    into.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp