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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user