diff --git a/.pick_status.json b/.pick_status.json index 4e9734571a9..e7733577739 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -643,7 +643,7 @@ "description": "zink: fix dual_src_blend driconf workaround", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null }, diff --git a/src/gallium/drivers/zink/zink_state.c b/src/gallium/drivers/zink/zink_state.c index a9cb615cc37..909c0edd7be 100644 --- a/src/gallium/drivers/zink/zink_state.c +++ b/src/gallium/drivers/zink/zink_state.c @@ -419,7 +419,7 @@ zink_bind_blend_state(struct pipe_context *pctx, void *cso) state->blend_id = blend ? blend->hash : 0; state->dirty = true; bool force_dual_color_blend = zink_screen(pctx->screen)->driconf.dual_color_blend_by_location && - blend && blend->dual_src_blend && state->blend_state->attachments[1].blendEnable; + blend && blend->dual_src_blend && state->blend_state->attachments[0].blendEnable; if (force_dual_color_blend != zink_get_fs_key(ctx)->force_dual_color_blend) zink_set_fs_key(ctx)->force_dual_color_blend = force_dual_color_blend; ctx->blend_state_changed = true;