i965: Make gen6_resolve_implied_move a no-op for MRF sources.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Nov 2011 03:49:54 +0000 (19:49 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 2 Dec 2011 10:49:23 +0000 (02:49 -0800)
commite304aa3600f865db533d273e2c1a554cb6a54f05
tree47d9553387e406508f177529f2d13636e0412fad
parentce45aecfdab9926b767d9924bddbc4304d59641c
i965: Make gen6_resolve_implied_move a no-op for MRF sources.

Attempting to move an MRF to a MRF is not only pointless, it will fail
because MRFs are read-only, resulting in garbage in your register.

If we already set up a MRF source, there's nothing to resolve anyway.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_eu_emit.c