vkd3d-proton (LGPL-2.1-or-later, libs/vkd3d/state.c and libs/vkd3d/device.c, read at commit 865b12ba0) gives
the method, not code to copy:
memcmp, and
made when a lookup misses (d3d12_device_get_or_create_vertex_input_pipeline,
d3d12_device_get_or_create_fragment_output_pipeline).VKD3D_VERTEX_INPUT_DYNAMIC_STATE_MASK,
VKD3D_FRAGMENT_OUTPUT_DYNAMIC_STATE_MASK).RETAIN_LINK_TIME_OPTIMIZATION_INFO on every part, and LINK_TIME_OPTIMIZATION only on the pipeline that it keeps
(d3d12_pipeline_state_link_pipeline_variant). Its late variants take the fast link alone, "to avoid stutter".graphicsPipelineLibraryIndependentInterpolationDecoration (device.c).Our code differs in each place: separate PR and FS parts, independent sets, a background LTO link for every pipeline,
and our own tables and workers. So the plan is to write the code new, with no line ported. If a commit ports a
function, it keeps the copyright lines of that file (Józef Kucia and Henri Verbeet for CodeWeavers, in the header of
state.c), names vkd3d-proton as the source, and adds a row to docs/CREDITS.md. LGPL-2.1-or-later is on the list of
licenses that the project can port (CLAUDE.md).
Made from docs/layers/gpu/pipeline-libraries.md at 69237645142c. GPL-3.0-or-later.