diff options
author | Jason Ekstrand <[email protected]> | 2020-03-06 20:15:08 -0600 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-24 16:17:45 +0000 |
commit | 5cb6c5d11d3eee083bb16942cb294434626cc14c (patch) | |
tree | bb481b60f1542b3b034d89af950d0888bc77eeb9 /src/intel | |
parent | 0d91dae7f0855aa6cd36d247ee126f7030f75137 (diff) |
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>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/blorp/blorp_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |