i965: Separate base offset/constant offset combining from remapping.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Dec 2015 10:37:52 +0000 (02:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 14 Dec 2015 22:39:34 +0000 (14:39 -0800)
commit8c4deb10dfbef683a2052a7bd62450aa76ad8fde
tree9e7c094c837e70f07cd35a43bf22fbc529c220e3
parent106c3a8a489aca6ad3f925fa703931d41c958208
i965: Separate base offset/constant offset combining from remapping.

My tessellation branch has two additional remap functions.  I don't want
to replicate this logic there.

v2: Handle inputs/outputs separately (suggested by Jason Ekstrand).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_nir.c