mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
zink: set current compute prog after comparing against current compute prog
not sure how this was never caught before now? cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37139>
This commit is contained in:
parent
3fecf68784
commit
e21438192a
1 changed files with 1 additions and 1 deletions
|
|
@ -2098,11 +2098,11 @@ zink_bind_cs_state(struct pipe_context *pctx,
|
||||||
ctx->compute_pipeline_state.module_hash = 0;
|
ctx->compute_pipeline_state.module_hash = 0;
|
||||||
}
|
}
|
||||||
ctx->compute_pipeline_state.dirty = true;
|
ctx->compute_pipeline_state.dirty = true;
|
||||||
ctx->curr_compute = comp;
|
|
||||||
if (comp && comp != ctx->curr_compute) {
|
if (comp && comp != ctx->curr_compute) {
|
||||||
if (ctx->compute_pipeline_state.key.base.nonseamless_cube_mask)
|
if (ctx->compute_pipeline_state.key.base.nonseamless_cube_mask)
|
||||||
ctx->compute_dirty = true;
|
ctx->compute_dirty = true;
|
||||||
}
|
}
|
||||||
|
ctx->curr_compute = comp;
|
||||||
zink_select_launch_grid(ctx);
|
zink_select_launch_grid(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue