i965/miptree: Add and use a memset option in alloc_aux_buffer
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 30 Apr 2018 17:44:01 +0000 (10:44 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 17 May 2018 14:06:41 +0000 (07:06 -0700)
commitb58675e93f03eee46de63bb596d4b97561fdaf42
tree03e4cc10130c32e8120fb2268ffed1ff5194bbd0
parent8a9491058da72ee2df75da25bb147010a451fb68
i965/miptree: Add and use a memset option in alloc_aux_buffer

Add infrastructure for initializing the clear color BO.
intel_miptree_init_mcs is no longer needed with change.

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