i965/vs: Teach copy propagation about sends from GRFs.
authorEric Anholt <eric@anholt.net>
Tue, 18 Dec 2012 01:03:02 +0000 (17:03 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 28 Mar 2013 18:46:34 +0000 (11:46 -0700)
commit130138030a3dc8bda20766146ca9fda4047133d3
tree1449e810c563cc21ea792cb99fd2b69010f7f225
parentc3a22d42a88c299561dd913d0a00bb986921eeba
i965/vs: Teach copy propagation about sends from GRFs.

This incidentally also teaches it a bit about gen6 math -- we now allow
unswizzled, unmodified GRF temps as the sources for math.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp