mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-07 01:30:26 +01:00
zink: use gfx_pipeline_state.dirty as a pipeline update condition
Without this, non-dynamically-supported state changes that require a pipeline change (like blend states without full_ds3) that happen in between drawcalls get ignored unless another one of the conditions also happened to be true. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39381>
This commit is contained in:
parent
d27dd392b8
commit
5a5a87ecdb
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ zink_draw(struct pipe_context *pctx,
|
|||
if (have_streamout && ctx->dirty_so_targets)
|
||||
zink_emit_stream_output_targets(pctx);
|
||||
|
||||
bool pipeline_changed = rp_state != ctx->gfx_pipeline_state.rp_state || ctx->gfx_dirty || ctx->dirty_gfx_stages || prim_changed || BATCH_CHANGED ?
|
||||
bool pipeline_changed = ctx->gfx_pipeline_state.dirty || rp_state != ctx->gfx_pipeline_state.rp_state || ctx->gfx_dirty || ctx->dirty_gfx_stages || prim_changed || BATCH_CHANGED ?
|
||||
update_gfx_pipeline<DYNAMIC_STATE, BATCH_CHANGED>(ctx, bs, mode) :
|
||||
false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue