mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02: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>
(cherry picked from commit e21438192a)
This commit is contained in:
parent
c99a6f8470
commit
d9094cf0cd
2 changed files with 2 additions and 2 deletions
|
|
@ -6794,7 +6794,7 @@
|
|||
"description": "zink: set current compute prog after comparing against current compute prog",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2102,11 +2102,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue