i965: Add and use a getter for the miptree aux buffer
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 9 Apr 2018 18:11:46 +0000 (11:11 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 24 Apr 2018 20:41:14 +0000 (13:41 -0700)
commit5503b65103b6a93dabe609cbedbbc999dd63bff5
tree952bcbe26c21b5d63dc15a907dd76a93a186a7b3
parente4f675dc42887734b43b549784955e81d284b202
i965: Add and use a getter for the miptree aux buffer

Make the next patch easier to read by eliminating most of the would-be
duplicate field accesses now.

v2: Update the HiZ comment instead of deleting it (Rafael).

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h