VkPushConstantBankInfoNV(3)
C Specification
The VkPushConstantBankInfoNV structure is defined as:
// Provided by VK_NV_push_constant_bank
typedef struct VkPushConstantBankInfoNV {
VkStructureType sType;
const void* pNext;
uint32_t bank;
} VkPushConstantBankInfoNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
bankis the index of the hardware bank into which the data is pushed.
Description
This structure can be chained to VkPushDataInfoEXT,
VkPushConstantsInfo, VkDescriptorSetAndBindingMappingEXT, and
VkIndirectCommandsLayoutTokenEXT via the pNext chain to specify
push constant bank placement:
-
When chained to VkPushDataInfoEXT, it specifies the hardware bank into which vkCmdPushDataEXT pushes the data.
-
When chained to VkPushConstantsInfo, it specifies the hardware bank into which vkCmdPushConstants2 pushes the constants.
-
When chained to VkDescriptorSetAndBindingMappingEXT, it specifies the hardware push data bank from which the push data is read.
-
When chained to VkIndirectCommandsLayoutTokenEXT with VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_DATA_EXT, it specifies the hardware bank into which indirect push data is placed.
This allows for more flexible push constant management in descriptor heap scenarios where shaders access different root descriptors with specific bank requirements.
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.