Structures
VkCopyMemoryToMicromapInfoEXT
Parameters for deserializing a micromap
The VkCopyMemoryToMicromapInfoEXT
structure is defined as:
typedef struct VkCopyMemoryToMicromapInfoEXT {
VkStructureType sType;
const void* pNext;
VkDeviceOrHostAddressConstKHR src;
VkMicromapEXT dst;
VkCopyMicromapModeEXT mode;
} VkCopyMemoryToMicromapInfoEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.src
is the device or host address to memory containing the source data for the copy.dst
is the target micromap for the copy.mode
is a VkCopyMicromapModeEXT value specifying additional operations to perform during the copy.
Valid Usage
VUID-VkCopyMemoryToMicromapInfoEXT-src-07547
The source memory pointed to by src
must contain data previously
serialized using vkCmdCopyMicromapToMemoryEXT
VUID-VkCopyMemoryToMicromapInfoEXT-mode-07548
mode
must be VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT
VUID-VkCopyMemoryToMicromapInfoEXT-src-07549
The data in src
must have a format compatible with the
destination physical device as returned by
vkGetDeviceMicromapCompatibilityEXT
VUID-VkCopyMemoryToMicromapInfoEXT-dst-07550
dst
must have been created with a size
greater than or
equal to that used to serialize the data in src
Valid Usage (Implicit)
VUID-VkCopyMemoryToMicromapInfoEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_COPY_MEMORY_TO_MICROMAP_INFO_EXT
VUID-VkCopyMemoryToMicromapInfoEXT-pNext-pNext
pNext
must be NULL
VUID-VkCopyMemoryToMicromapInfoEXT-dst-parameter
dst
must be a valid VkMicromapEXT handle
VUID-VkCopyMemoryToMicromapInfoEXT-mode-parameter
mode
must be a valid VkCopyMicromapModeEXT value