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>
(cherry picked from commit 8547f8b557)
This commit is contained in:
Calder Young 2025-05-21 23:57:34 -07:00 committed by Eric Engestrom
parent 840325c2f7
commit d5d2e046e9
2 changed files with 3 additions and 3 deletions

View file

@ -5214,7 +5214,7 @@
"description": "iris: Fix accidental writes to global dirty bit instead of local",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "0e9a26372bb4e6819b8d56b445564395e04c4217",
"notes": null

View file

@ -7101,11 +7101,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;