i965: Fix detection of implicit MOVs to message regs in brw_optimize.c.
authorEric Anholt <eric@anholt.net>
Wed, 25 Aug 2010 23:00:09 +0000 (16:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 25 Aug 2010 23:03:56 +0000 (16:03 -0700)
commita1f2ac2b37b8291d1521169b171f6c3ea683cae7
tree348646c313d2b5867d8bebe59d4d8e1f4666ada3
parenta49167c1c03dab9452165f503251e543dec2be9a
i965: Fix detection of implicit MOVs to message regs in brw_optimize.c.

Texcoords in AmbientApertureLighting were getting trashed since the
move of math arguments to implied moves, due to the logic for
detecting ALU message reg writes overriding the logic for SEND
implicit message reg writes.
src/mesa/drivers/dri/i965/brw_optimize.c