mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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:
parent
0d91dae7f0
commit
5cb6c5d11d
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue