C Specification

The VkIndirectCommandsLayoutTokenNVX structure specifies details to the function arguments that need to be known at layout creation time:

typedef struct VkIndirectCommandsLayoutTokenNVX {
    VkIndirectCommandsTokenTypeNVX    tokenType;
    uint32_t                          bindingUnit;
    uint32_t                          dynamicCount;
    uint32_t                          divisor;
} VkIndirectCommandsLayoutTokenNVX;

Members

  • type specifies the token command type.

  • bindingUnit has a different meaning depending on the type, please refer pseudo code further down for details.

  • dynamicCount has a different meaning depending on the type, please refer pseudo code further down for details.

  • divisor defines the rate at which the input data buffers are accessed.

Description

Valid Usage
  • bindingUnit must stay within device supported limits for the appropriate commands.

  • dynamicCount must stay within device supported limits for the appropriate commands.

  • divisor must be greater than 0 and a power of two.

Valid Usage (Implicit)

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.

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.