i965/fs: Add (sub)reg_offset asserts to brw_reg_from_fs_reg.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 26 Apr 2016 00:25:48 +0000 (17:25 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:05 +0000 (23:29 -0700)
commit437e65f9d93f8df0e6aaf1bcaf74c6a211498db8
tree160cdae4fe605f17cb2476d7d9f0e1798cc4ecb8
parent51dd6a60f5ef43a12d1b4384a2aded4d55d14056
i965/fs: Add (sub)reg_offset asserts to brw_reg_from_fs_reg.

These are completely ignored by the conversion to brw_reg, so they
better be zero.

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