VkImageViewHandleInfoNVX
The VkImageViewHandleInfoNVX structure is defined as:
typedef struct VkImageViewHandleInfoNVX {
VkStructureType sType;
const void* pNext;
VkImageView imageView;
VkDescriptorType descriptorType;
VkSampler sampler;
} VkImageViewHandleInfoNVX;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.imageViewis the image view to query.descriptorTypeis the type of descriptor for which to query a handle.sampleris the sampler to combine with the image view when generating the handle.
Valid Usage
VUID-VkImageViewHandleInfoNVX-descriptorType-02654
descriptorType must be VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, or
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
VUID-VkImageViewHandleInfoNVX-sampler-02655
sampler must be a valid VkSampler if descriptorType
is VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
VUID-VkImageViewHandleInfoNVX-imageView-02656
If descriptorType is VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE or
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the image that
imageView was created from must have been created with the
VK_IMAGE_USAGE_SAMPLED_BIT usage bit set
VUID-VkImageViewHandleInfoNVX-imageView-02657
If descriptorType is VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, the image
that imageView was created from must have been created with the
VK_IMAGE_USAGE_STORAGE_BIT usage bit set
Valid Usage (Implicit)
VUID-VkImageViewHandleInfoNVX-sType-sType
sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX
VUID-VkImageViewHandleInfoNVX-pNext-pNext
pNext must be NULL
VUID-VkImageViewHandleInfoNVX-imageView-parameter
imageView must be a valid VkImageView handle
VUID-VkImageViewHandleInfoNVX-descriptorType-parameter
descriptorType must be a valid VkDescriptorType value
VUID-VkImageViewHandleInfoNVX-sampler-parameter
If sampler is not VK_NULL_HANDLE, sampler must be a valid VkSampler handle
VUID-VkImageViewHandleInfoNVX-commonparent
Both of imageView, and sampler that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice