iris: Fix accidental writes to global dirty bit instead of local

Fixes: 0e9a26372b ("iris: implement Wa_14018912822")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35102>
This commit is contained in:
Calder Young
2025-05-21 23:57:34 -07:00
committed by Marge Bot
parent 1608bc20b5
commit 8547f8b557
+2 -2
View File
@@ -7111,11 +7111,11 @@ iris_upload_dirty_render_state(struct iris_context *ice,
/* Blend constants modified for Wa_14018912822. */
if (ice->state.color_blend_zero != color_blend_zero) {
ice->state.color_blend_zero = color_blend_zero;
ice->state.dirty |= IRIS_DIRTY_COLOR_CALC_STATE;
dirty |= IRIS_DIRTY_COLOR_CALC_STATE;
}
if (ice->state.alpha_blend_zero != alpha_blend_zero) {
ice->state.alpha_blend_zero = alpha_blend_zero;
ice->state.dirty |= IRIS_DIRTY_COLOR_CALC_STATE;
dirty |= IRIS_DIRTY_COLOR_CALC_STATE;
}
uint32_t blend_state_header;