C Specification
To decompress data between one or more memory regions by specifying decompression parameters indirectly in a buffer, call:
// Provided by VK_NV_memory_decompression
void vkCmdDecompressMemoryIndirectCountNV(
VkCommandBuffer commandBuffer,
VkDeviceAddress indirectCommandsAddress,
VkDeviceAddress indirectCommandsCountAddress,
uint32_t stride);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
indirectCommandsAddress
is the device address containing decompression parameters laid out as an array of VkDecompressMemoryRegionNV structures. -
indirectCommandsCountAddress
is the device address containing the decompression count. -
stride
is the byte stride between successive sets of decompression parameters located starting fromindirectCommandsAddress
.
Description
Each region specified in indirectCommandsAddress
is decompressed from
the source to destination region based on the specified decompression
method.
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.