intel/blorp: Allow more HiZ usages in hiz_clear_depth_stencil

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4100>
This commit is contained in:
Jason Ekstrand 2020-03-06 20:15:08 -06:00 committed by Marge Bot
parent 0d91dae7f0
commit 5cb6c5d11d

View file

@ -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, &params.depth, depth,
level, layer,