mesa: Improve the eliminate-move-use to work across multiple instructions.
authorEric Anholt <eric@anholt.net>
Wed, 11 Nov 2009 21:26:26 +0000 (13:26 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 13 Nov 2009 21:18:22 +0000 (13:18 -0800)
commitd6690ce15fb8c7c6abf1bc0d847c1d2da2c33904
treef612e5164537642d1c2c4cb1243433e47ecd7038
parent654122ba7b813683a893d60d10ca201258deface
mesa: Improve the eliminate-move-use to work across multiple instructions.

This shaves more instructions off of the VS of my GL demo, but no
performance difference this time at n=6.  This also fixes a regression
that was in this path, which is now piglit's glsl-vs-mov-after-deref.
src/mesa/shader/prog_optimize.c