C Specification
The VkPhysicalDeviceDescriptorBufferPropertiesEXT structure is defined
as:
// Provided by VK_EXT_descriptor_buffer
typedef struct VkPhysicalDeviceDescriptorBufferPropertiesEXT {
VkStructureType sType;
void* pNext;
VkBool32 combinedImageSamplerDescriptorSingleArray;
VkBool32 bufferlessPushDescriptors;
VkBool32 allowSamplerImageViewPostSubmitCreation;
VkDeviceSize descriptorBufferOffsetAlignment;
uint32_t maxDescriptorBufferBindings;
uint32_t maxResourceDescriptorBufferBindings;
uint32_t maxSamplerDescriptorBufferBindings;
uint32_t maxEmbeddedImmutableSamplerBindings;
uint32_t maxEmbeddedImmutableSamplers;
size_t bufferCaptureReplayDescriptorDataSize;
size_t imageCaptureReplayDescriptorDataSize;
size_t imageViewCaptureReplayDescriptorDataSize;
size_t samplerCaptureReplayDescriptorDataSize;
size_t accelerationStructureCaptureReplayDescriptorDataSize;
size_t samplerDescriptorSize;
size_t combinedImageSamplerDescriptorSize;
size_t sampledImageDescriptorSize;
size_t storageImageDescriptorSize;
size_t uniformTexelBufferDescriptorSize;
size_t robustUniformTexelBufferDescriptorSize;
size_t storageTexelBufferDescriptorSize;
size_t robustStorageTexelBufferDescriptorSize;
size_t uniformBufferDescriptorSize;
size_t robustUniformBufferDescriptorSize;
size_t storageBufferDescriptorSize;
size_t robustStorageBufferDescriptorSize;
size_t inputAttachmentDescriptorSize;
size_t accelerationStructureDescriptorSize;
VkDeviceSize maxSamplerDescriptorBufferRange;
VkDeviceSize maxResourceDescriptorBufferRange;
VkDeviceSize samplerDescriptorBufferAddressSpaceSize;
VkDeviceSize resourceDescriptorBufferAddressSpaceSize;
VkDeviceSize descriptorBufferAddressSpaceSize;
} VkPhysicalDeviceDescriptorBufferPropertiesEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
combinedImageSamplerDescriptorSingleArrayindicates that the implementation does not require an array ofVK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERdescriptors to be written into a descriptor buffer as an array of image descriptors, immediately followed by an array of sampler descriptors. -
bufferlessPushDescriptorsindicates that the implementation does not require a buffer created withVK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXTto be bound when using push descriptors. -
allowSamplerImageViewPostSubmitCreationindicates that the implementation does not restrict when the VkSampler or VkImageView objects used to retrieve descriptor data can be created in relation to command buffer submission. If this value isVK_FALSE, then the application must create any VkSampler or VkImageView objects whose descriptor data is accessed during the execution of a command buffer, before the vkQueueSubmit , or vkQueueSubmit2, call that submits that command buffer. -
descriptorBufferOffsetAlignmentindicates the required alignment in bytes when setting offsets into the descriptor buffer. -
maxDescriptorBufferBindingsindicates the maximum sum total number of descriptor buffers and embedded immutable sampler sets that can be bound. -
maxResourceDescriptorBufferBindingsindicates the maximum number of resource descriptor buffers that can be bound. -
maxSamplerDescriptorBufferBindingsindicates the maximum number of sampler descriptor buffers that can be bound. -
maxEmbeddedImmutableSamplerBindingsindicates the maximum number of embedded immutable sampler sets that can be bound. -
maxEmbeddedImmutableSamplersindicates the maximum number of unique immutable samplers in descriptor set layouts created withVK_DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT, and pipeline layouts created from them, which can simultaneously exist on a device. -
bufferCaptureReplayDescriptorDataSizeindicates the maximum size in bytes of the opaque data used for capture and replay with buffers. -
imageCaptureReplayDescriptorDataSizeindicates the maximum size in bytes of the opaque data used for capture and replay with images. -
imageViewCaptureReplayDescriptorDataSizeindicates the maximum size in bytes of the opaque data used for capture and replay with image views. -
samplerCaptureReplayDescriptorDataSizeindicates the maximum size in bytes of the opaque data used for capture and replay with samplers. -
accelerationStructureCaptureReplayDescriptorDataSizeindicates the maximum size in bytes of the opaque data used for capture and replay with acceleration structures. -
samplerDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_SAMPLERdescriptor. -
combinedImageSamplerDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERdescriptor. -
sampledImageDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_SAMPLED_IMAGEdescriptor. -
storageImageDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_STORAGE_IMAGEdescriptor. -
uniformTexelBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor if therobustBufferAccessfeature is not enabled. -
robustUniformTexelBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFERdescriptor if therobustBufferAccessfeature is enabled. -
storageTexelBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor if therobustBufferAccessfeature is not enabled. -
robustStorageTexelBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFERdescriptor if therobustBufferAccessfeature is enabled. -
uniformBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_UNIFORM_BUFFERdescriptor. -
robustUniformBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_UNIFORM_BUFFERdescriptor if therobustBufferAccessfeature is enabled. -
storageBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_STORAGE_BUFFERdescriptor. -
robustStorageBufferDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_STORAGE_BUFFERdescriptor if therobustBufferAccessfeature is enabled. -
inputAttachmentDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENTdescriptor. -
accelerationStructureDescriptorSizeindicates the size in bytes of aVK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHRorVK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NVdescriptor. -
maxSamplerDescriptorBufferRangeindicates the maximum range in bytes from the address of a sampler descriptor buffer binding that is accessible to a shader. -
maxResourceDescriptorBufferRangeindicates the maximum range in bytes from the address of a resource descriptor buffer binding that is accessible to a shader. -
samplerDescriptorBufferAddressSpaceSizeindicates the total size in bytes of the address space available for descriptor buffers created withVK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT. -
resourceDescriptorBufferAddressSpaceSizeindicates the total size in bytes of the address space available for descriptor buffers created withVK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT. -
descriptorBufferAddressSpaceSizeindicates the total size in bytes of the address space available for descriptor buffers created with bothVK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXTandVK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT.
Description
A descriptor binding with type VK_DESCRIPTOR_TYPE_MUTABLE_VALVE has a
descriptor size which is implied by the descriptor types included in the
VkMutableDescriptorTypeCreateInfoVALVE::pDescriptorTypes list.
The descriptor size is equal to the maximum size of any descriptor type
included in the pDescriptorTypes list.
As there is no way to request robust and non-robust descriptors separately,
or specify robust/non-robust descriptors in the set layout, if
robustBufferAccess is enabled then
robust descriptors are always used.
If the VkPhysicalDeviceDescriptorBufferPropertiesEXT structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
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.