Structures
VkPhysicalDeviceDescriptorHeapPropertiesEXT
Structure describing supported image alignments for a physical device
The VkPhysicalDeviceDescriptorHeapPropertiesEXT structure is defined
as:
typedef struct VkPhysicalDeviceDescriptorHeapPropertiesEXT {
VkStructureType sType;
void* pNext;
VkDeviceSize samplerHeapAlignment;
VkDeviceSize resourceHeapAlignment;
VkDeviceSize maxSamplerHeapSize;
VkDeviceSize maxResourceHeapSize;
VkDeviceSize minSamplerHeapReservedRange;
VkDeviceSize minSamplerHeapReservedRangeWithEmbedded;
VkDeviceSize minResourceHeapReservedRange;
VkDeviceSize samplerDescriptorSize;
VkDeviceSize imageDescriptorSize;
VkDeviceSize bufferDescriptorSize;
VkDeviceSize samplerDescriptorAlignment;
VkDeviceSize imageDescriptorAlignment;
VkDeviceSize bufferDescriptorAlignment;
VkDeviceSize maxPushDataSize;
size_t imageCaptureReplayOpaqueDataSize;
uint32_t maxDescriptorHeapEmbeddedSamplers;
uint32_t samplerYcbcrConversionCount;
VkBool32 sparseDescriptorHeaps;
VkBool32 protectedDescriptorHeaps;
} VkPhysicalDeviceDescriptorHeapPropertiesEXT;
pub struct PhysicalDeviceDescriptorHeapPropertiesEXT {
s_type: vk::StructureType,
p_next: *mut c_void,
sampler_heap_alignment: vk::DeviceSize,
resource_heap_alignment: vk::DeviceSize,
max_sampler_heap_size: vk::DeviceSize,
max_resource_heap_size: vk::DeviceSize,
min_sampler_heap_reserved_range: vk::DeviceSize,
min_sampler_heap_reserved_range_with_embedded: vk::DeviceSize,
min_resource_heap_reserved_range: vk::DeviceSize,
sampler_descriptor_size: vk::DeviceSize,
image_descriptor_size: vk::DeviceSize,
buffer_descriptor_size: vk::DeviceSize,
sampler_descriptor_alignment: vk::DeviceSize,
image_descriptor_alignment: vk::DeviceSize,
buffer_descriptor_alignment: vk::DeviceSize,
max_push_data_size: vk::DeviceSize,
image_capture_replay_opaque_data_size: usize,
max_descriptor_heap_embedded_samplers: u32,
sampler_ycbcr_conversion_count: u32,
sparse_descriptor_heaps: vk::Bool32,
protected_descriptor_heaps: vk::Bool32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.- LIMITS SAMPLERHEAPALIGNMENT
samplerHeapAlignmentspecifies the required alignment of theheapRange→addressmember of VkBindHeapInfoEXT for binding sampler heaps. It must be a power-of-two value. - LIMITS RESOURCEHEAPALIGNMENT
resourceHeapAlignmentspecifies the required alignment of theheapRange→addressmember of VkBindHeapInfoEXT for binding resource heaps. It must be a power-of-two value. - LIMITS MAXSAMPLERHEAPSIZE
maxSamplerHeapSizedescribes maximum value of thesizemember of VkDeviceAddressRangeKHR for binding sampler heaps, including the reservation, when embedded samplers are used. - LIMITS MAXRESOURCEHEAPSIZE
maxResourceHeapSizedescribes maximum value of thesizemember of VkDeviceAddressRangeKHR for binding resource heaps, including the reservation. - LIMITS MINSAMPLERHEAPRESERVEDRANGE
minSamplerHeapReservedRangespecifies the minimum amount of data that the implementation needs to be reserved within the bound sampler heap range when embedded samplers are not used. - LIMITS MINSAMPLERHEAPRESERVEDRANGEWITHEMBEDDED
minSamplerHeapReservedRangeWithEmbeddedspecifies the minimum amount of data that the implementation needs to be reserved within the bound sampler heap range when embedded samplers are used. - LIMITS MINRESOURCEHEAPRESERVEDRANGE
minResourceHeapReservedRangespecifies the minimum amount of data that the implementation needs to be reserved within the bound resource heap range. - LIMITS SAMPLERDESCRIPTORSIZE
samplerDescriptorSizespecifies the size of sampler descriptors written by vkWriteSamplerDescriptorsEXT. It must be a power-of-two value. - LIMITS IMAGEDESCRIPTORSIZE
imageDescriptorSizespecifies the maximum size of image and texel buffer descriptors written by vkWriteResourceDescriptorsEXT. It must be a power-of-two value. - LIMITS BUFFERDESCRIPTORSIZE
bufferDescriptorSizespecifies the maximum size of unformatted buffer descriptors or acceleration structures written by vkWriteResourceDescriptorsEXT. It must be a power-of-two value. - LIMITS SAMPLERDESCRIPTORALIGNMENT
samplerDescriptorAlignmentspecifies the required alignment of sampler descriptors within a sampler heap. It must be a power-of-two value, and less than or equal tosamplerDescriptorSize. - LIMITS IMAGEDESCRIPTORALIGNMENT
imageDescriptorAlignmentspecifies the required alignment of image descriptors within a resource heap. It must be a power-of-two value, and less than or equal toimageDescriptorSize. - LIMITS BUFFERDESCRIPTORALIGNMENT
bufferDescriptorAlignmentspecifies the required alignment of buffer descriptors within a resource heap. It must be a power-of-two value, and less than or equal tobufferDescriptorSize. - LIMITS MAXPUSHDATASIZE
maxPushDataSizespecifies the maximum total size of all push data. - LIMITS IMAGECAPTUREREPLAYOPAQUEDATASIZE
imageCaptureReplayOpaqueDataSizespecifies the size of the opaque capture/replay data for an image. - LIMITS MAXDESCRIPTORHEAPEMBEDDEDSAMPLERS
maxDescriptorHeapEmbeddedSamplersspecifies the maximum number of unique embedded samplers across all pipelines. - LIMITS SAMPLERYCBCRCONVERSIONCOUNT
samplerYcbcrConversionCountspecifies the number of sampler descriptors required for any sampler using YCBCR conversion. - LIMITS SPARSEDESCRIPTORHEAPS
sparseDescriptorHeapsspecifies whether descriptor heaps can be backed by sparse memory or not. If this value isVK_FALSE, buffers cannot be specified as both sparse and having descriptor heap usage. - LIMITS PROTECTEDDESCRIPTORHEAPS
protectedDescriptorHeapsspecifies whether descriptor heaps can be used with protected submissions or not. If this value isVK_FALSE, buffers cannot be specified as both protected and having descriptor heap usage.
If the VkPhysicalDeviceDescriptorHeapPropertiesEXT structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
Valid Usage (Implicit)
VUID-VkPhysicalDeviceDescriptorHeapPropertiesEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_PROPERTIES_EXT