VkDrawIndirectCountIndirectCommandEXT(3)

Name

VkDrawIndirectCountIndirectCommandEXT - Structure specifying input data for a single draw-type command token

C Specification

The VkDrawIndirectCountIndirectCommandEXT structure specifies the input data for all draw-type tokens.

// Provided by VK_EXT_device_generated_commands
typedef struct VkDrawIndirectCountIndirectCommandEXT {
    VkDeviceAddress    bufferAddress;
    uint32_t           stride;
    uint32_t           commandCount;
} VkDrawIndirectCountIndirectCommandEXT;

Members

  • bufferAddress specifies a physical address of the VkBuffer used for draw commands.

  • stride is the byte size stride for the command arguments

  • commandCount is the number of commands to execute

Description

The corresponding indirect draw structure 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

Valid Usage (Implicit)
  • VUID-VkDrawIndirectCountIndirectCommandEXT-bufferAddress-parameter
    bufferAddress must be a valid VkDeviceAddress value

See Also

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.