i965/miptree: Add real support for HiZ
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jul 2016 16:30:15 +0000 (09:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 17 Aug 2016 21:46:22 +0000 (14:46 -0700)
commit20c06d2b7970f3d1dc709e0963956031b60dc21d
tree60fb086e9d17a9b2dac48879fa859f1f51602bb7
parentdc880c99b656988eadf012000a01869e40be8f57
i965/miptree: Add real support for HiZ

The previous HiZ support was bogus because all of get_aux_isl_surf looked
at mt->mcs_mt directly.  For HiZ buffers, you need to look at either
mt->hiz_buf or mt->hiz_buf->mt.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c