Pipeline cache objects can be merged using the command:
// Provided by VK_VERSION_1_0 VkResult vkMergePipelineCaches( VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches);
deviceis the logical device that owns the pipeline cache objects.
dstCacheis the handle of the pipeline cache to merge results into.
srcCacheCountis the length of the
pSrcCachesis a pointer to an array of pipeline cache handles, which will be merged into
dstCache. The previous contents of
dstCacheare included after the merge.
The details of the merge operation are implementation dependent, but implementations should merge the contents of the specified pipelines and prune duplicate entries.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.