From: Jason Ekstrand Date: Sat, 7 Mar 2020 02:15:08 +0000 (-0600) Subject: intel/blorp: Allow more HiZ usages in hiz_clear_depth_stencil X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cb6c5d11d3eee083bb16942cb294434626cc14c;p=mesa.git intel/blorp: Allow more HiZ usages in hiz_clear_depth_stencil Reviewed-by: Rafael Antognolli Part-of: --- diff --git a/src/intel/blorp/blorp_clear.c b/src/intel/blorp/blorp_clear.c index e95f30b747d..3daeb004850 100644 --- a/src/intel/blorp/blorp_clear.c +++ b/src/intel/blorp/blorp_clear.c @@ -904,7 +904,7 @@ blorp_hiz_clear_depth_stencil(struct blorp_batch *batch, if (clear_depth) { /* If we're clearing depth, we must have HiZ */ - assert(depth && depth->aux_usage == ISL_AUX_USAGE_HIZ); + assert(depth && isl_aux_usage_has_hiz(depth->aux_usage)); brw_blorp_surface_info_init(batch->blorp, ¶ms.depth, depth, level, layer,