For a multi-layer subpass resolve we want to make sure we flush all
the layers.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: <mesa-stable@lists.freedesktop.org>
VkImageResolve region = {};
region.srcSubresource.baseArrayLayer = 0;
region.srcSubresource.mipLevel = 0;
- region.srcSubresource.layerCount = 1;
+ region.srcSubresource.layerCount = src_image->info.array_size;
radv_decompress_resolve_src(cmd_buffer, src_image,
src_att.layout, 1, ®ion);