i965/fs: Fix register unspills from a reg_offset.
authorEric Anholt <eric@anholt.net>
Wed, 16 Oct 2013 19:39:07 +0000 (12:39 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 31 Oct 2013 00:51:15 +0000 (17:51 -0700)
commit32182bb004923c8746803aa88d4b4505e4124b8c
tree07341492f7d7de1113e1d8ab2ec81e18bf4111b1
parent0e20051f54f31f83edba9ac9f8f3a16bb747c698
i965/fs: Fix register unspills from a reg_offset.

We were clearing the reg_offset before trying to use it.  Oops.  Fixes
glsl-fs-texture2drect with the reg spilling debug enabled.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp