Structures
VkPipelineLibraryCreateInfoKHR
Structure specifying pipeline libraries to use when creating a pipeline
The VkPipelineLibraryCreateInfoKHR structure is defined as:
typedef struct VkPipelineLibraryCreateInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t libraryCount;
const VkPipeline* pLibraries;
} VkPipelineLibraryCreateInfoKHR;
pub struct PipelineLibraryCreateInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
library_count: u32,
p_libraries: *const vk::Pipeline,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.libraryCountis the number of pipeline libraries inpLibraries.pLibrariesis 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
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