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
-
pPushConstantis a pointer to a VkIndirectCommandsPushConstantTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_EXTandVK_INDIRECT_COMMANDS_TOKEN_TYPE_SEQUENCE_INDEX_EXTtokens -
pVertexBufferis a pointer to a VkIndirectCommandsVertexBufferTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_EXTtokens -
pIndexBufferis a pointer to a VkIndirectCommandsIndexBufferTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXTtokens -
pExecutionSetis a pointer to a VkIndirectCommandsExecutionSetTokenEXT structure needed forVK_INDIRECT_COMMANDS_TOKEN_TYPE_EXECUTION_SET_EXTtokens
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.