VkDecompressMemoryRegionEXT(3)
C Specification
The VkDecompressMemoryRegionEXT structure is defined as:
// Provided by VK_EXT_memory_decompression
typedef struct VkDecompressMemoryRegionEXT {
VkDeviceAddress srcAddress;
VkDeviceAddress dstAddress;
VkDeviceSize compressedSize;
VkDeviceSize decompressedSize;
} VkDecompressMemoryRegionEXT;
Members
-
srcAddressis the address where compressed data is stored. -
dstAddressis the destination address where decompressed data will be written. -
compressedSizeis the size of compressed data in bytes. -
decompressedSizeis the size of decompressed data in bytes.
Description
Accesses to compressed and decompressed data specified in srcAddress
and dstAddress must be synchronized
with the VK_PIPELINE_STAGE_2_MEMORY_DECOMPRESSION_BIT_EXT
pipeline stage with
access type of
VK_ACCESS_2_MEMORY_DECOMPRESSION_READ_BIT_EXT or
VK_ACCESS_2_MEMORY_DECOMPRESSION_WRITE_BIT_EXT.
See Also
VK_EXT_memory_decompression, VkDecompressMemoryInfoEXT, VkDeviceAddress, VkDeviceSize
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.