Fix image blit mirrored comparisons
authorDzmitry Malyshau <dmalyshau@mozilla.com>
Wed, 9 May 2018 17:14:21 +0000 (13:14 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 22 May 2018 09:34:23 +0000 (05:34 -0400)
commite7bd336a2791563007ff6a78db8be397f8272922
treebb2873c643d55e0c521771b611d394bee5e51eac
parentfe6a2c0387b12ba00af69d03368b115c37a8eb3e
Fix image blit mirrored comparisons

The old looping would not go through any iterations for mirrored offsets.
The looping has to be mirrored when the destination is mirrored, and the
source texture coordinate computation adjusted accordingly.

Affects:
dEQP-VK.api.copy_and_blit.core.blit_image.*.mirror*.*

Change-Id: I8feb1d8b90c8013b292865b0e3b20ef414b05920
Components: Vulkan
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp