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>
This commit is contained in:
Mike Blumenkrantz 2025-09-08 12:31:58 -04:00
parent 15ee3873aa
commit fe82d156bf

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(CmdSetTessellationDomainOriginEXT)(bs->cmdbuf, VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT);
VKCTX(CmdSetSampleLocationsEnableEXT)(bs->cmdbuf, ctx->gfx_pipeline_state.sample_locations_enabled); VKCTX(CmdSetSampleLocationsEnableEXT)(bs->cmdbuf, ctx->gfx_pipeline_state.sample_locations_enabled);
VKCTX(CmdSetRasterizationStreamEXT)(bs->cmdbuf, 0); VKCTX(CmdSetRasterizationStreamEXT)(bs->cmdbuf, 0);
pipeline_changed = true;
} }
ctx->shobj_draw = true; ctx->shobj_draw = true;
} }