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 is NULL 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)