From 5cb6c5d11d3eee083bb16942cb294434626cc14c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 6 Mar 2020 20:15:08 -0600 Subject: [PATCH] intel/blorp: Allow more HiZ usages in hiz_clear_depth_stencil Reviewed-by: Rafael Antognolli Part-of: --- src/intel/blorp/blorp_clear.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2