i965/fs: Reset reg_offset of the original destination to zero in compute_to_mrf().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 20 May 2016 04:12:32 +0000 (21:12 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:05 +0000 (23:29 -0700)
commit51dd6a60f5ef43a12d1b4384a2aded4d55d14056
tree315f8a8d715737a01ebfb6cf59a0703e64efccbe
parentb9eab911baa380fea1a3d3393f5944c00aa63076
i965/fs: Reset reg_offset of the original destination to zero in compute_to_mrf().

Prevents an assertion failure in the following commit.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp