zink: flag pipeline_changed when updating shader modules

this otherwise breaks everything when switching from pipeline -> shobj draw

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37239>
(cherry picked from commit fe82d156bf)
This commit is contained in:
Mike Blumenkrantz 2025-09-08 12:31:58 -04:00 committed by Eric Engestrom
parent 8f81950c5a
commit 462f8c59e5
2 changed files with 2 additions and 1 deletions

View file

@ -7424,7 +7424,7 @@
"description": "zink: flag pipeline_changed when updating shader modules",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -289,6 +289,7 @@ update_gfx_pipeline(struct zink_context *ctx, struct zink_batch_state *bs, enum
VKCTX(CmdSetTessellationDomainOriginEXT)(bs->cmdbuf, VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT);
VKCTX(CmdSetSampleLocationsEnableEXT)(bs->cmdbuf, ctx->gfx_pipeline_state.sample_locations_enabled);
VKCTX(CmdSetRasterizationStreamEXT)(bs->cmdbuf, 0);
pipeline_changed = true;
}
ctx->shobj_draw = true;
}