g_vk.vertex_input_dynamic): the VI part lists VK_DYNAMIC_STATE_VERTEX_INPUT_EXT and
holds no layout. Then the VI key is only topo_class, and there are four VI parts at most. Without it, the VI key
holds the layout, and a new layout costs a VI part (microseconds) and a link, never a shader compile. This is the
first gain on drivers where vk_vi_choose turns dynamic vertex input off. VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE
is also VI state.has_feedback_dynamic, the draws set vkCmdSetAttachmentFeedbackLoopEnableEXT as now,
and the flag is in no key. Without it, feedback goes into the FS and FO keys and the flag goes on those parts and
on the link. The spec text for which part takes the flag must be checked first (see the open questions).ShXfb in vk_shader_get), so they are in the PR
key by the module. The rasterization stream is PR state. It is 0 now. It can become dynamic with
extendedDynamicState3RasterizationStream later.tcs can be the passthrough of vk_tess_passthrough, made for each patch size. So with a
passthrough, the patch size is in the PR key through the module, also with dynamic patch control points. A game's
own control program makes the patch size dynamic.feat/sm86-gaps, later): they are PR stages. A mesh pipeline has no VI part
(vkd3d-proton leaves out VERTEX_INPUT_INTERFACE for mesh). Their sets need slots in the layout table, which the
mesh work adds. The split function then gives a VI key of none.heaps (the PipeKey bit) is in all four keys, so a part of heaps never links with a part
of layouts. Each part and the link take their flags in VkPipelineCreateFlags2CreateInfo, which the driver reads in
place of flags: the flags they have with sets, VK_PIPELINE_CREATE_2_DESCRIPTOR_HEAP_BIT_EXT in place of the
descriptor buffers' bit (pipe_heaps), and no layout. The PR and FS parts have the stage mappings of their stages,
as a whole pipeline has them. A device that takes heaps (an integrated GPU, vk_descriptors_auto) made each heap pipeline
whole before. Then the new effects of one game's battles waited 100 to 560 ms a frame for a full compile.graphicsPipelineLibraryIndependentInterpolationDecoration. vkd3d-proton turns GPL off without it. This design
does the same. It does not check the translator's output for decorations.SignedZeroInfNanPreserve and the other float controls are in each module. They stay correct, because each part
compiles its own modules.VkPipelineRobustnessCreateInfoEXT with vertexInputs goes on every part and on the link. Then the
vertex fetch is robust in whichever part the driver compiles it.vk_pipeline_save writes g_pipeline.pcache after PCACHE_QUIET_NS with no new pipeline.
Part makes and optimized pipelines must also update g_pipeline.pcache_used (pcache_note), so a save does not hold the
cache's lock while a draw's part compiles.Made from docs/layers/gpu/pipeline-libraries.md at 69237645142c. GPL-3.0-or-later.