In ResolveImageToImage::iterate() method a memory barrier is defined
to change the layout of source image. By mistake destination image
parameters are used to define subresource range. It causes validation
errors as in some cases the subresource range extends beyond
the dimensions of the source image.
The fix uses source image parameters to define the memory barrier.
Modified tests:
dEQP-VK.api.copy_and_blit.resolve_image.*
Components: Vulkan
VK-GL-CTS issue: 160
Change-Id: I0ef72fbc99b127129441b7c66b43afd7b5a1e0ef
0u, // deUint32 baseMipLevel;
1u, // deUint32 mipLevels;
0u, // deUint32 baseArraySlice;
- getArraySize(m_params.dst.image) // deUint32 arraySize;
+ getArraySize(m_params.src.image) // deUint32 arraySize;
}
},
// destination image