C Specification
The VkGraphicsPipelineShaderGroupsCreateInfoNV structure is defined
as:
typedef struct VkGraphicsPipelineShaderGroupsCreateInfoNV {
VkStructureType sType;
const void* pNext;
uint32_t groupCount;
const VkGraphicsShaderGroupCreateInfoNV* pGroups;
uint32_t pipelineCount;
const VkPipeline* pPipelines;
} VkGraphicsPipelineShaderGroupsCreateInfoNV;
Members
-
sTypeis the type of this structure. -
pNextisNULLor a pointer to an extension-specific structure. -
groupCountis the number of elements in thepGroupsarray. -
pGroupsis an array of VkGraphicsShaderGroupCreateInfoNV values specifying which state of the originalVkGraphicsPipelineCreateInfoeach shader group overrides. -
pipelineCountis the number of elements in thepPipelinesarray. -
pPipelinesis an array of graphicsVkPipeline, which are referenced within the created pipeline, including all their shader groups.
Description
When referencing shader groups by index, groups defined in the referenced
pipelines are treated as if they were defined as additional entries in
pGroups.
They are appended in the order they appear in the pPipelines array and
in the pGroups array when those pipelines were defined.
The application must maintain the lifetime of all such referenced pipelines based on the pipelines that make use of them.
Document Notes
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
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.