Structures
VkImageResolve
Structure specifying an image resolve operation
The VkImageResolve
structure is defined as:
typedef struct VkImageResolve {
VkImageSubresourceLayers srcSubresource;
VkOffset3D srcOffset;
VkImageSubresourceLayers dstSubresource;
VkOffset3D dstOffset;
VkExtent3D extent;
} VkImageResolve;
srcSubresource
anddstSubresource
are VkImageSubresourceLayers structures specifying the image subresources of the images used for the source and destination image data, respectively. Resolve of depth/stencil images is not supported.srcOffset
anddstOffset
select the initialx
,y
, andz
offsets in texels of the sub-regions of the source and destination image data.extent
is the size in texels of the source image to resolve inwidth
,height
anddepth
.
Valid Usage
VUID-VkImageResolve-aspectMask-00266
The aspectMask
member of srcSubresource
and
dstSubresource
must only contain VK_IMAGE_ASPECT_COLOR_BIT
VUID-VkImageResolve-layerCount-08803
If neither of the layerCount
members of srcSubresource
or
dstSubresource
are VK_REMAINING_ARRAY_LAYERS
, the
layerCount
member of srcSubresource
and dstSubresource
must match
VUID-VkImageResolve-layerCount-08804
If one of the layerCount
members of srcSubresource
or
dstSubresource
is VK_REMAINING_ARRAY_LAYERS
, the other
member must be either VK_REMAINING_ARRAY_LAYERS
or equal to the
arrayLayers
member of the VkImageCreateInfo used to create
the image minus baseArrayLayer
Valid Usage (Implicit)
VUID-VkImageResolve-srcSubresource-parameter
srcSubresource
must be a valid VkImageSubresourceLayers structure
VUID-VkImageResolve-dstSubresource-parameter
dstSubresource
must be a valid VkImageSubresourceLayers structure