zink: don't set blend_id with full_ds3
this no longer needs to be part of the pso hash Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>
This commit is contained in:
committed by
Marge Bot
parent
d584f320b8
commit
3ca3a26f9c
@@ -407,8 +407,10 @@ zink_bind_blend_state(struct pipe_context *pctx, void *cso)
|
||||
|
||||
if (state->blend_state != cso) {
|
||||
state->blend_state = cso;
|
||||
state->blend_id = blend ? blend->hash : 0;
|
||||
state->dirty |= !zink_screen(pctx->screen)->have_full_ds3;
|
||||
if (!zink_screen(pctx->screen)->have_full_ds3) {
|
||||
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[0].blendEnable;
|
||||
if (force_dual_color_blend != zink_get_fs_base_key(ctx)->force_dual_color_blend)
|
||||
|
||||
Reference in New Issue
Block a user