Module: Mesa Branch: master Commit: 5cb6c5d11d3eee083bb16942cb294434626cc14c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5cb6c5d11d3eee083bb16942cb294434626cc14c
Author: Jason Ekstrand <[email protected]> Date: Fri Mar 6 20:15:08 2020 -0600 intel/blorp: Allow more HiZ usages in hiz_clear_depth_stencil Reviewed-by: Rafael Antognolli <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4100> --- 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, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
