C Specification
The VkIndirectCommandsTokenDataEXT
structure provides token-specific
details used to generate the indirect execution layout.
// Provided by VK_EXT_device_generated_commands
typedef union VkIndirectCommandsTokenDataEXT {
const VkIndirectCommandsPushConstantTokenEXT* pPushConstant;
const VkIndirectCommandsVertexBufferTokenEXT* pVertexBuffer;
const VkIndirectCommandsIndexBufferTokenEXT* pIndexBuffer;
const VkIndirectCommandsExecutionSetTokenEXT* pExecutionSet;
} VkIndirectCommandsTokenDataEXT;
Members
-
pPushConstant
is a pointer to a VkIndirectCommandsPushConstantTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXT
andVK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXT
tokens -
pVertexBuffer
is a pointer to a VkIndirectCommandsVertexBufferTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXT
tokens -
pIndexBuffer
is a pointer to a VkIndirectCommandsIndexBufferTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT
tokens -
pExecutionSet
is a pointer to a VkIndirectCommandsExecutionSetTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXT
tokens
Description
The appropriate member of the union must be set for each token.
The following code provides detailed information on how an individual sequence is processed. For valid usage, all restrictions from the regular commands apply.
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.