mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 16:18:06 +02:00
zink: allow the backend to optimise shaders.
I can't think of any reason for ever requesting this here, maybe in some future with parallel threads optimised compiles and where vulkan drivers respect this bit. Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7840>
This commit is contained in:
parent
e2e383e36a
commit
bf7c4108fb
1 changed files with 0 additions and 1 deletions
|
|
@ -136,7 +136,6 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
|
|||
|
||||
VkGraphicsPipelineCreateInfo pci = {};
|
||||
pci.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO;
|
||||
pci.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT;
|
||||
pci.layout = prog->layout;
|
||||
pci.renderPass = state->render_pass->render_pass;
|
||||
pci.pVertexInputState = &vertex_input_state;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue