iris: Add aux offset into hiz_address
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Aug 2019 08:37:11 +0000 (01:37 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 13 Aug 2019 22:20:39 +0000 (15:20 -0700)
commitaad36dfd1619a66c31f987322f2e66729e0813e8
tree7d12cdef73711be0bd353b959b8b9a3c7dcc13e4
parentf5e1f9ccef249b2f897179150bdb18d564c25ddc
iris: Add aux offset into hiz_address

This is not currently required because the hiz buffer is in a separate
buffer, and therefore the offset is 0. If we combine the aux buffer
with the main surface buffer, then the hiz offset may become non-zero.

Suggested-by: Nanley Chery <nanley.g.chery@intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_state.c