VkPipelineBinaryKHR
Pipeline binary objects allow the result of pipeline construction to be
reused between pipelines and between runs of an application.
Reuse is achieved by extracting pipeline binaries from a VkPipeline
object, associating them with a corresponding VkPipelineBinaryKeyKHR
and then adding a VkPipelineBinaryInfoKHR to the pNext
chain of
any Vk*PipelineCreateInfo
when creating a pipeline.
Pipeline binaries can be reused between runs by extracting
VkPipelineBinaryDataKHR
from VkPipelineBinaryKHR
objects, saving
the contents, and then using them to create a VkPipelineBinaryKHR
object on subsequent runs.
When creating a pipeline that includes VkPipelineBinaryInfoKHR in the
pNext
chain, or has the
VK_PIPELINE_CREATE_2_CAPTURE_DATA_BIT_KHR
flag set, the use of
VkPipelineCache objects is not allowed.
Pipeline binary objects are represented by VkPipelineBinaryKHR
handles:
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineBinaryKHR)