Structures
VkWriteIndirectExecutionSetShaderEXT
Struct specifying shader object update information for an indirect execution set
The VkWriteIndirectExecutionSetShaderEXT
struct is defined as:
typedef struct VkWriteIndirectExecutionSetShaderEXT {
VkStructureType sType;
const void* pNext;
uint32_t index;
VkShaderEXT shader;
} VkWriteIndirectExecutionSetShaderEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.index
is the element of the set to updateshader
is the shader to store in the indirect execution set
Shaders need not be stored in the Indirect Execution Set according to their stage. The only restriction for shader indices within a set is that the value of the index must be less than the maximum number of shaders in the set.
Valid Usage
VUID-VkWriteIndirectExecutionSetShaderEXT-index-11031
index
must be less than
VkIndirectExecutionSetShaderInfoEXT
::maxShaderCount
VUID-VkWriteIndirectExecutionSetShaderEXT-shader-11032
shader
must have been created with
VK_SHADER_CREATE_INDIRECT_BINDABLE_BIT_EXT
VUID-VkWriteIndirectExecutionSetShaderEXT-pInitialShaders-11033
A shader created with the same VkShaderStageFlagBits must have
been passed in the
VkIndirectExecutionSetShaderInfoEXT
::pInitialShaders
array
VUID-VkWriteIndirectExecutionSetShaderEXT-index-11034
index
must not be in use by submitted command buffers
Valid Usage (Implicit)
VUID-VkWriteIndirectExecutionSetShaderEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_WRITE_INDIRECT_EXECUTION_SET_SHADER_EXT
VUID-VkWriteIndirectExecutionSetShaderEXT-shader-parameter
shader
must be a valid VkShaderEXT handle