VkPushConstantBankInfoNV - Structure specifying push constant bank information
Description
This structure can be chained to
PushDataInfoEXT,
PushConstantsInfo,
DescriptorSetAndBindingMappingEXT,
and
IndirectCommandsLayoutTokenEXT
via the pNext chain to specify push constant bank placement:
When chained to PushDataInfoEXT, it specifies the hardware bank into which cmdPushDataEXT pushes the data.
When chained to PushConstantsInfo, it specifies the hardware bank into which cmdPushConstants2 pushes the constants.
When chained to DescriptorSetAndBindingMappingEXT, it specifies the hardware push data bank from which the push data is read.
When chained to IndirectCommandsLayoutTokenEXT with 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.
Valid Usage
When chained to PushDataInfoEXT, if the command buffer is executing graphics operations,
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxGraphicsPushDataBanks
When chained to PushDataInfoEXT, if the command buffer is executing compute operations,
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxComputePushDataBanksWhen chained to PushConstantsInfo, if VkPushConstantsInfo::stageFlags includes a graphics stage then
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxGraphicsPushConstantBanksWhen chained to PushConstantsInfo, if VkPushConstantsInfo::stageFlags includes a compute stage then
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxComputePushConstantBanksWhen chained to DescriptorSetAndBindingMappingEXT for a graphics shader stage,
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxGraphicsPushDataBanksWhen chained to DescriptorSetAndBindingMappingEXT for a compute shader stage,
bankmust be less than PhysicalDevicePushConstantBankPropertiesNV::maxComputePushDataBanks
Valid Usage (Implicit)
sTypemust be STRUCTURE_TYPE_PUSH_CONSTANT_BANK_INFO_NV
Structure Chaining
See Also
Constructors
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bankShow PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bankStorable PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bankFromCStruct PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bankToCStruct PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bankZero PushConstantBankInfoNVDefined in vulkan-3.27 · Vulkan.Extensions.VK_NV_push_constant_bank