i965/vec4: Change opt_vector_float to keep track of the last offset seen in bytes.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 2 Sep 2016 04:51:07 +0000 (21:51 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 14 Sep 2016 21:50:58 +0000 (14:50 -0700)
commitb52fefc4d55a4627bf0d59c78ac531603fa08fda
tree5c1d058004d146dd632060e5b2b2d54e587e9bbb
parent230615e2280e6d28456e7d6a42b1e42645515b4d
i965/vec4: Change opt_vector_float to keep track of the last offset seen in bytes.

This simplifies things slightly and makes the pass more correct in
presence of sub-GRF offsets.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp