i965/gen6: Simplify hiz surface setup
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 10 Jan 2017 09:02:08 +0000 (11:02 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 27 Jan 2017 06:57:26 +0000 (08:57 +0200)
commitb864e3d7eee82accf3430b46d5a9269323fe0ba0
treee0c18c1f9e0fbf58805665301c0a723fe0583be7
parent40bf622cedda2fba54488188c98591354f16a132
i965/gen6: Simplify hiz surface setup

In intel_hiz_miptree_buf_create() intel_miptree_aux_buffer::bo
is unconditionally initialised to point to the same buffer
object as hiz_mt does. The same goes for
intel_miptree_aux_buffer::pitch/qpitch.

This will make following patches simpler to read.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/gen6_depth_state.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c