Structures
VkPhysicalDevicePushConstantBankPropertiesNV
Structure describing push constant bank properties
The VkPhysicalDevicePushConstantBankPropertiesNV structure is defined
as:
typedef struct VkPhysicalDevicePushConstantBankPropertiesNV {
VkStructureType sType;
void* pNext;
uint32_t maxGraphicsPushConstantBanks;
uint32_t maxComputePushConstantBanks;
uint32_t maxGraphicsPushDataBanks;
uint32_t maxComputePushDataBanks;
} VkPhysicalDevicePushConstantBankPropertiesNV;
pub struct PhysicalDevicePushConstantBankPropertiesNV {
s_type: vk::StructureType,
p_next: *mut c_void,
max_graphics_push_constant_banks: u32,
max_compute_push_constant_banks: u32,
max_graphics_push_data_banks: u32,
max_compute_push_data_banks: u32,
}
This structure describes the following implementation-dependent limits:
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.maxGraphicsPushConstantBanksindicates the maximum number of push constant banks supported for graphics pipelines when used with non-descriptor heap scenarios.maxComputePushConstantBanksindicates the maximum number of push constant banks supported for compute pipelines when used with non-descriptor heap scenarios.maxGraphicsPushDataBanksindicates the maximum number of push data banks supported for graphics pipelines when using descriptor heaps.maxComputePushDataBanksindicates the maximum number of push data banks supported for compute pipelines when using descriptor heaps.
If the VkPhysicalDevicePushConstantBankPropertiesNV structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
The number of banks available for descriptor heap usage
(
maxGraphicsPushDataBanks and maxComputePushDataBanks) is equal
or greater than the number of banks available for non-descriptor heap usage
(maxGraphicsPushConstantBanks and maxComputePushConstantBanks).For graphics shaders, both descriptor heap and non-descriptor heap limits
are greater than 1.
For compute shaders, the number of banks is equal to or greater than 1.Valid Usage (Implicit)
VUID-VkPhysicalDevicePushConstantBankPropertiesNV-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_PROPERTIES_NV