i965: Prepare to delete intel_miptree_alloc_ccs()
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 3 May 2018 03:05:08 +0000 (20:05 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 17 May 2018 14:06:41 +0000 (07:06 -0700)
commit6c41a2ef3b72f9465646fea7ac941e8deb14444b
tree0e1472cf06445ac19350bfcba4979bf7c0aa09c0
parentbeed9c4550c1c65fed97c539ade023a66a679d15
i965: Prepare to delete intel_miptree_alloc_ccs()

We're going to delete intel_miptree_alloc_ccs() in the next commit. With
that in mind, replace the use of this function in
do_single_blorp_clear() with intel_miptree_alloc_aux() and move the
delayed allocation logic to it's callers.

v2: Duplicate the delayed allocation comment (Topi Pohjolainen).

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