Structures
VkDrawIndirectCountIndirectCommandEXT
Structure specifying input data for a single draw-type command token
The VkDrawIndirectCountIndirectCommandEXT
structure specifies the
input data for all draw-type tokens.
typedef struct VkDrawIndirectCountIndirectCommandEXT {
VkDeviceAddress bufferAddress;
uint32_t stride;
uint32_t commandCount;
} VkDrawIndirectCountIndirectCommandEXT;
bufferAddress
specifies a physical address of the VkBuffer used for draw commands.stride
is the byte size stride for the command argumentscommandCount
is the number of commands to execute
The corresponding indirect draw struct data will be read from the buffer address.
Valid Usage
VUID-VkDrawIndirectCountIndirectCommandEXT-None-11122
The buffer’s usage flag from which the address was acquired must have
the VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT
bit set
VUID-VkDrawIndirectCountIndirectCommandEXT-None-11123
Each element of the buffer from which the address was acquired and that
is non-sparse must be bound completely and contiguously to a single
VkDeviceMemory
object