Add tests for resolving between images of different sizes
authorSlawomir Cygan <slawomir.cygan@intel.com>
Mon, 28 Nov 2016 18:28:01 +0000 (19:28 +0100)
committerPyry Haulos <phaulos@google.com>
Wed, 18 Jan 2017 18:37:49 +0000 (10:37 -0800)
commitd0efc5461709951bccfc66be9dceced6a9817415
tree5c1dea5eaad2576eb2b6f5d50092012ddce42daf
parent9f0ff9f49ae3359d9b2e50f5d720fc77460d0f4f
Add tests for resolving between images of different sizes

New tests: dEQP-VK.api.copy_and_blit.resolve_image.diff_image_size*

This change adds new tests, which try to resolve data between images of
different sizes. As some implementations may optimize resolves of whole
images, this tests tricks implementation by having resolve region equal
one of dst/src image size, while the other image is larger.

`FILL_MODE_MULTISAMPLE` logic was tweaked to work properly on non-square src images
- this is required by new tests.

Change-Id: If15f500e0e4b2b574f1441da71e5d57e690f8f43
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/mustpass/1.0.2/vk-default.txt