VkIndirectExecutionSetShaderInfoEXT(3)
Name
VkIndirectExecutionSetShaderInfoEXT - Struct specifying parameters of a newly created indirect execution set containing only shader objects
C Specification
The VkIndirectExecutionSetShaderInfoEXT
structure is defined as:
// Provided by VK_EXT_device_generated_commands
typedef struct VkIndirectExecutionSetShaderInfoEXT {
VkStructureType sType;
const void* pNext;
uint32_t shaderCount;
const VkShaderEXT* pInitialShaders;
const VkIndirectExecutionSetShaderLayoutInfoEXT* pSetLayoutInfos;
uint32_t maxShaderCount;
uint32_t pushConstantRangeCount;
const VkPushConstantRange* pPushConstantRanges;
} VkIndirectExecutionSetShaderInfoEXT;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
shaderCount
is the number of members in thepInitialShaders
andpSetLayoutInfos
arrays. -
pInitialShaders
is a pointer to an array containing a VkShaderEXT object for each shader stage that will be used in the set. These shaders will be automatically added to the set beginning at index0
. -
pSetLayoutInfos
is a pointer to an array containing a VkIndirectExecutionSetShaderLayoutInfoEXT used by each correspondingpInitialShaders
shader stage in the set. -
maxShaderCount
is the maximum number of shader objects stored in the set. -
pushConstantRangeCount
is the number of members in thepPushConstantRanges
array. -
pPushConstantRanges
is a pointer to the array of VkPushConstantRange ranges used by all shaders in the set.
Description
The characteristics of pInitialShaders
will be used to validate all
shaders added to the set even if they are removed from the set or destroyed.
When an Indirect Execution Set created with shader objects is used,
pInitialShaders
constitutes the initial shader state.
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.