C Specification
Information about the descriptor to get is passed in a
VkDescriptorGetInfoEXT structure:
// Provided by VK_EXT_descriptor_buffer
typedef struct VkDescriptorGetInfoEXT {
VkStructureType sType;
const void* pNext;
VkDescriptorType type;
VkDescriptorDataEXT data;
} VkDescriptorGetInfoEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
typeis the type of descriptor to get. -
datais a structure containing the information needed to get the descriptor.
Description
-
VUID-VkDescriptorGetInfoEXT-type-08018
typemust not beVK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC,VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICorVK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK -
VUID-VkDescriptorGetInfoEXT-type-08019
IftypeisVK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, thepCombinedImageSampler->samplermember ofdatamust be a VkSampler created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08020
IftypeisVK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, thepCombinedImageSampler->imageViewmember ofdatamust be a VkImageView created ondevice, or VK_NULL_HANDLE -
VUID-VkDescriptorGetInfoEXT-type-08021
IftypeisVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, thepInputAttachmentImage->imageViewmember ofdatamust be a VkImageView created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08022
IftypeisVK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, and ifpSampledImageis notNULL, thepSampledImage->imageViewmember ofdatamust be a VkImageView created ondevice, or VK_NULL_HANDLE -
VUID-VkDescriptorGetInfoEXT-type-08023
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_IMAGE, and ifpStorageImageis notNULL, thepStorageImage->imageViewmember ofdatamust be a VkImageView created ondevice, or VK_NULL_HANDLE -
VUID-VkDescriptorGetInfoEXT-type-08024
IftypeisVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER,pUniformTexelBufferis notNULLandpUniformTexelBuffer->addressis not zero,pUniformTexelBuffer->addressmust be an address within a VkBuffer created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08025
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,pStorageTexelBufferis notNULLandpStorageTexelBuffer->addressis not zero,pStorageTexelBuffer->addressmust be an address within a VkBuffer created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08026
IftypeisVK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,pUniformBufferis notNULLandpUniformBuffer->addressis not zero,pUniformBuffer->addressmust be an address within a VkBuffer created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08027
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_BUFFER,pStorageBufferis notNULLandpStorageBuffer->addressis not zero,pStorageBuffer->addressmust be an address within a VkBuffer created ondevice -
VUID-VkDescriptorGetInfoEXT-type-09427
IftypeisVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER,pUniformBufferis notNULL, the number of texel buffer elements given by (⌊pUniformBuffer->range/ (texel block size)⌋ × (texels per block)) where texel block size and texels per block are as defined in the Compatible Formats table forpUniformBuffer->format, must be less than or equal toVkPhysicalDeviceLimits::maxTexelBufferElements -
VUID-VkDescriptorGetInfoEXT-type-09428
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,pStorageBufferis notNULL, the number of texel buffer elements given by (⌊pStorageBuffer->range/ (texel block size)⌋ × (texels per block)) where texel block size and texels per block are as defined in the Compatible Formats table forpStorageBuffer->format, must be less than or equal toVkPhysicalDeviceLimits::maxTexelBufferElements -
VUID-VkDescriptorGetInfoEXT-type-08028
IftypeisVK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHRandaccelerationStructureis not0,accelerationStructuremust contain the address of a VkAccelerationStructureKHR created ondevice -
VUID-VkDescriptorGetInfoEXT-type-08029
IftypeisVK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NVandaccelerationStructureis not0,accelerationStructuremust contain the handle of a VkAccelerationStructureNV created ondevice, returned by vkGetAccelerationStructureHandleNV -
VUID-VkDescriptorGetInfoEXT-type-09701
IftypeisVK_DESCRIPTOR_TYPE_TENSOR_ARM, a VkDescriptorGetTensorInfoARM structure must be included in thepNextchain anddatais ignored
-
VUID-VkDescriptorGetInfoEXT-sType-sType
sTypemust beVK_STRUCTURE_TYPE_DESCRIPTOR_GET_INFO_EXT -
VUID-VkDescriptorGetInfoEXT-pNext-pNext
pNextmust beNULLor a pointer to a valid instance of VkDescriptorGetTensorInfoARM -
VUID-VkDescriptorGetInfoEXT-sType-unique
ThesTypevalue of each structure in thepNextchain must be unique -
VUID-VkDescriptorGetInfoEXT-type-parameter
typemust be a valid VkDescriptorType value -
VUID-VkDescriptorGetInfoEXT-pSampler-parameter
IftypeisVK_DESCRIPTOR_TYPE_SAMPLER, thepSamplermember ofdatamust be a valid pointer to a valid VkSampler handle -
VUID-VkDescriptorGetInfoEXT-pCombinedImageSampler-parameter
IftypeisVK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, thepCombinedImageSamplermember ofdatamust be a valid pointer to a valid VkDescriptorImageInfo structure -
VUID-VkDescriptorGetInfoEXT-pInputAttachmentImage-parameter
IftypeisVK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, thepInputAttachmentImagemember ofdatamust be a valid pointer to a valid VkDescriptorImageInfo structure -
VUID-VkDescriptorGetInfoEXT-pSampledImage-parameter
IftypeisVK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, and ifpSampledImageis notNULL, thepSampledImagemember ofdatamust be a valid pointer to a valid VkDescriptorImageInfo structure -
VUID-VkDescriptorGetInfoEXT-pStorageImage-parameter
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_IMAGE, and ifpStorageImageis notNULL, thepStorageImagemember ofdatamust be a valid pointer to a valid VkDescriptorImageInfo structure -
VUID-VkDescriptorGetInfoEXT-pUniformTexelBuffer-parameter
IftypeisVK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, and ifpUniformTexelBufferis notNULL, thepUniformTexelBuffermember ofdatamust be a valid pointer to a valid VkDescriptorAddressInfoEXT structure -
VUID-VkDescriptorGetInfoEXT-pStorageTexelBuffer-parameter
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, and ifpStorageTexelBufferis notNULL, thepStorageTexelBuffermember ofdatamust be a valid pointer to a valid VkDescriptorAddressInfoEXT structure -
VUID-VkDescriptorGetInfoEXT-pUniformBuffer-parameter
IftypeisVK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, and ifpUniformBufferis notNULL, thepUniformBuffermember ofdatamust be a valid pointer to a valid VkDescriptorAddressInfoEXT structure -
VUID-VkDescriptorGetInfoEXT-pStorageBuffer-parameter
IftypeisVK_DESCRIPTOR_TYPE_STORAGE_BUFFER, and ifpStorageBufferis notNULL, thepStorageBuffermember ofdatamust be a valid pointer to a valid VkDescriptorAddressInfoEXT structure
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.