Structures

VkIndirectCommandsLayoutPushDataTokenNV

Struct specifying the details of an indirect push data command layout token

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

typedef struct VkIndirectCommandsLayoutPushDataTokenNV {
    VkStructureType sType;
    const void* pNext;
    uint32_t pushDataOffset;
    uint32_t pushDataSize;
} VkIndirectCommandsLayoutPushDataTokenNV;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • pushDataOffset is the offset used for the push data command.
  • pushDataSize is the size used for the push data command.

If this structure is in the pNext chain of VkIndirectCommandsLayoutTokenNV, and VkIndirectCommandsLayoutTokenNV::tokenType is set to VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_NV, this structure defines a push data command layout token.

If this structure is not provided, it is equivalent to setting pushDataOffset and pushDataSize to 0.

Valid Usage

VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataOffset-11335

The sum of pushDataOffset and pushDataSize must be less than maxPushDataSize

Valid Usage (Implicit)

VUID-VkIndirectCommandsLayoutPushDataTokenNV-sType-sType

sType must be VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_PUSH_DATA_TOKEN_NV