Structures
VkDedicatedAllocationImageCreateInfoNV
Specify that an image is bound to a dedicated memory resource
If the pNext chain includes a
VkDedicatedAllocationImageCreateInfoNV structure, then that structure
includes an enable controlling whether the image will have a dedicated
memory allocation bound to it.
The VkDedicatedAllocationImageCreateInfoNV structure is defined as:
typedef struct VkDedicatedAllocationImageCreateInfoNV {
VkStructureType sType;
const void* pNext;
VkBool32 dedicatedAllocation;
} VkDedicatedAllocationImageCreateInfoNV;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.dedicatedAllocationspecifies whether the image will have a dedicated allocation bound to it.
Using a dedicated allocation for color and depth/stencil attachments or other large images may improve performance on some devices.
Valid Usage
VUID-VkDedicatedAllocationImageCreateInfoNV-dedicatedAllocation-00994
If dedicatedAllocation is VK_TRUE,
VkImageCreateInfo::flags must not include
VK_IMAGE_CREATE_SPARSE_BINDING_BIT,
VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT, or
VK_IMAGE_CREATE_SPARSE_ALIASED_BIT
Valid Usage (Implicit)
VUID-VkDedicatedAllocationImageCreateInfoNV-sType-sType
sType must be VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV