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;
pub struct IndirectCommandsLayoutPushDataTokenNV {
s_type: vk::StructureType,
p_next: *const c_void,
push_data_offset: u32,
push_data_size: u32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.pushDataOffsetis the offset used for the push data command.pushDataSizeis 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
VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataOffset-11420
pushDataOffset must be a multiple of 4
VUID-VkIndirectCommandsLayoutPushDataTokenNV-pushDataSize-11421
pushDataSize must be a multiple of 4
Valid Usage (Implicit)
VUID-VkIndirectCommandsLayoutPushDataTokenNV-sType-sType
sType must be VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_PUSH_DATA_TOKEN_NV