i965: fix bug in pass0_precalc_mov()
authorBrian Paul <brianp@vmware.com>
Wed, 28 Jan 2009 21:35:58 +0000 (14:35 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 28 Jan 2009 21:35:58 +0000 (14:35 -0700)
commitfaa48915d27634a12f123eaa6e954ec79565e365
tree7981071c50abe64a830333557f9298f3ca73396a
parent2ace634024dc14ab15087f3718f8f84e23fba47c
i965: fix bug in pass0_precalc_mov()

Previously, "in-place" swizzles such as:
   MOV t, t.xxyx;
were handled incorrectly.  Fixed by splitting the one loop into two loops so we
get all the refs before assigning them (to avoid potential clobbering).
src/mesa/drivers/dri/i965/brw_wm_pass0.c