i965: Use set_clear_color for depth miptrees
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 27 Apr 2018 01:49:19 +0000 (18:49 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 17 May 2018 14:06:41 +0000 (07:06 -0700)
commit6f609ca609f3011b756bb920a7b06946a8a8c0b7
tree4296735a35560028d22f8118cb6ab60b0201ba6f
parent92a0a87b6f78b316f47132bb8f67c1ba28d3c020
i965: Use set_clear_color for depth miptrees

Reduce code duplication now and prevent it in the following commits.

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