mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
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:
parent
15ee3873aa
commit
fe82d156bf
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue