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