VkPipelineLibraryCreateInfoKHR
The VkPipelineLibraryCreateInfoKHR
structure is defined as:
typedef struct VkPipelineLibraryCreateInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t libraryCount;
const VkPipeline* pLibraries;
} VkPipelineLibraryCreateInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.libraryCount
is the number of pipeline libraries inpLibraries
.pLibraries
is a pointer to an array of VkPipeline structures specifying pipeline libraries to use when creating a pipeline.
Valid Usage
VUID-VkPipelineLibraryCreateInfoKHR-pLibraries-03381
Each element of pLibraries
must have been created with
VK_PIPELINE_CREATE_LIBRARY_BIT_KHR
VUID-VkPipelineLibraryCreateInfoKHR-pLibraries-06855
If any library in pLibraries
was created with a shader stage with
VkPipelineShaderStageModuleIdentifierCreateInfoEXT and
identifierSize
not equal to 0, the pipeline must be created with
the VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT
flag
set
VUID-VkPipelineLibraryCreateInfoKHR-pLibraries-08096
If any element of pLibraries
was created with
VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
, all elements must
have been created with
VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT
VUID-VkPipelineLibraryCreateInfoKHR-pipeline-07404
If pipeline
is being created with
VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT
, every element of
pLibraries
must have been created with
VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT
VUID-VkPipelineLibraryCreateInfoKHR-pipeline-07405
If pipeline
is being created without
VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT
, every element of
pLibraries
must have been created without
VK_PIPELINE_CREATE_NO_PROTECTED_ACCESS_BIT_EXT
VUID-VkPipelineLibraryCreateInfoKHR-pipeline-07406
If pipeline
is being created with
VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT
, every element of
pLibraries
must have been created with
VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT
VUID-VkPipelineLibraryCreateInfoKHR-pipeline-07407
If pipeline
is being created without
VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT
, every element of
pLibraries
must have been created without
VK_PIPELINE_CREATE_PROTECTED_ACCESS_ONLY_BIT_EXT
Valid Usage (Implicit)
VUID-VkPipelineLibraryCreateInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR
VUID-VkPipelineLibraryCreateInfoKHR-pLibraries-parameter
If libraryCount
is not 0
, pLibraries
must be a valid pointer to an array of libraryCount
valid VkPipeline handles