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:
Mike Blumenkrantz 2025-09-08 15:33:47 -04:00 committed by Marge Bot
parent 3fecf68784
commit e21438192a

View file

@ -2098,11 +2098,11 @@ zink_bind_cs_state(struct pipe_context *pctx,
ctx->compute_pipeline_state.module_hash = 0;
}
ctx->compute_pipeline_state.dirty = true;
ctx->curr_compute = comp;
if (comp && comp != ctx->curr_compute) {
if (ctx->compute_pipeline_state.key.base.nonseamless_cube_mask)
ctx->compute_dirty = true;
}
ctx->curr_compute = comp;
zink_select_launch_grid(ctx);
}