mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 21:10:43 +02:00
iris: use correct enum for aux state on depth fast clear
Fixes: 5e86087940 ("intel: Move depth clear value writes to drivers")
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30845>
This commit is contained in:
parent
90d91f739f
commit
a5dbd62267
1 changed files with 2 additions and 1 deletions
|
|
@ -560,7 +560,8 @@ fast_clear_depth(struct iris_context *ice,
|
|||
}
|
||||
|
||||
iris_resource_set_aux_state(ice, res, level, box->z, box->depth,
|
||||
ISL_AUX_STATE_CLEAR);
|
||||
devinfo->ver < 20 ? ISL_AUX_STATE_CLEAR :
|
||||
ISL_AUX_STATE_COMPRESSED_NO_CLEAR);
|
||||
ice->state.dirty |= IRIS_DIRTY_DEPTH_BUFFER;
|
||||
ice->state.stage_dirty |= IRIS_ALL_STAGE_DIRTY_BINDINGS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue