Structures
VkPhysicalDeviceDescriptorBufferFeaturesEXT
Structure describing the descriptor buffer features that can be supported by an implementation
The VkPhysicalDeviceDescriptorBufferFeaturesEXT
structure is defined
as:
typedef struct VkPhysicalDeviceDescriptorBufferFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 descriptorBuffer;
VkBool32 descriptorBufferCaptureReplay;
VkBool32 descriptorBufferImageLayoutIgnored;
VkBool32 descriptorBufferPushDescriptors;
} VkPhysicalDeviceDescriptorBufferFeaturesEXT;
This structure describes the following feature:
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.-
descriptorBuffer
indicates that the implementation supports putting shader-accessible descriptors directly in memory. descriptorBufferCaptureReplay
indicates that the implementation supports capture and replay when using descriptor buffers. If this isVK_TRUE
, all resources created withVK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
,VK_IMAGE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
,VK_IMAGE_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
,VK_SAMPLER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
, orVK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
must be created before resources of the same types without those flags.descriptorBufferImageLayoutIgnored
indicates that the implementation will ignoreimageLayout
inVkDescriptorImageInfo
when calling vkGetDescriptorEXT.descriptorBufferPushDescriptors
indicates that the implementation supports using push descriptors with descriptor buffers.
If the VkPhysicalDeviceDescriptorBufferFeaturesEXT
structure is included in the pNext
chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
VkPhysicalDeviceDescriptorBufferFeaturesEXT
can also be used in the pNext
chain of
VkDeviceCreateInfo to selectively enable these features.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceDescriptorBufferFeaturesEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT