VK_NV_descriptor_pool_overallocation
Other Extension Metadata
Last Modified Date
2023-08-30
Contributors
- Jeff Bolz, NVIDIA
Description
There are scenarios where the application does not know ahead of time how many descriptor sets it may need to allocate from a descriptor pool, or how many descriptors of any of the descriptor types it may need to allocate from the descriptor pool.
This extension gives applications the ability to request the implementation allow more sets or descriptors to be allocated than initially specified at descriptor pool creation time, subject to available resources.
The VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV
flag
lets the application allocate more than
VkDescriptorPoolCreateInfo::maxSets
descriptor sets, and the
VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV
lets the
application allocate more descriptors than initially specified by
VkDescriptorPoolSize::descriptorCount
for any descriptor types.
New Structures
- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:
New Enum Constants
VK_NV_DESCRIPTOR_POOL_OVERALLOCATION_EXTENSION_NAME
VK_NV_DESCRIPTOR_POOL_OVERALLOCATION_SPEC_VERSION
- Extending VkDescriptorPoolCreateFlagBits:
VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV
VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV
- Extending VkStructureType:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV
Version History
- Revision 1, 2023-08-30 (Piers Daniell)
- Internal revisions