Where the device has VK_EXT_shader_object (setting vk_ext_shader_object, issue #1454), a draw makes no pipeline
and no parts. src/nx/gpu/vk/shader_objects.c gives each key a set of shader objects: one for each stage's program,
made once on the pipeline workers and shared by every key that runs the program with the same set layouts and
fragment specialization. The recording thread binds the set (vk_pipeline_bind) and sets, as dynamic state, what a
pipeline held (vk_so_bind). render.c sets the rest as for a pipeline, pr_dynamic too, so the path needs the
dynamic pre-rasterization state of this design and the vertex layout as dynamic state.
INDEPENDENT_SETS.vk_so_keep_spirv). A key whose modules
have no SPIR-V kept (the runtime's clears), or with state that is no dynamic state here (per-sample shading, mesh
stages, descriptor heaps, mixed samples, coverage to color, sample locations), is made as a pipeline. So is a key
whose objects the device refuses.vk_shaders.<driver>.bin, beside the pipeline
cache. Their key holds what the set layouts are made of (g_vk_dslayout_hash), the specialization and the flags.g_vk later, and the device keeps the extensions and their rules.vulkan_headless_shader_objects runs every check with them under the validation layer. The pipeline tests above
pass --vk-ext-shader-object=off.
Made from docs/layers/gpu/pipeline-libraries.md at 69237645142c. GPL-3.0-or-later.