Add copy tests for wide and tall images
authorToni Merilehti <toni.merilehti@siru.fi>
Fri, 3 May 2019 11:12:46 +0000 (14:12 +0300)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 30 Sep 2019 10:33:20 +0000 (06:33 -0400)
commitfaaca65c6e4b8d6a0601016f0a63b80bd2fd6a11
tree1151867fd404edffae021aa7b02b0d9e8c326bea
parent7a8ff479a1b96baa756c0b95933a56f7657dbf09
Add copy tests for wide and tall images

Test image copying on wide and tall images on YCbCr and
non-YCbCr formats with the following image dimensions:
-Wide: large pot x small pot
-Wide: large pot x small npot
-Tall: small pot x large pot
-Tall: small npot x large pot

This CL also changes the initialization of the source image
in image_to_image copy tests to gradient from the current
solid red color to detect that the copy regions are handled
correctly.

Affects:

dEQP-VK.api.copy_and_blit.*.image_to_image.*

New tests:

dEQP-VK.api.copy_and_blit.*.image_to_image.dimensions.*
dEQP-VK.ycbcr.copy_dimensions.*

Components: Vulkan

VK-GL-CTS issue: 1724

Change-Id: I9d61a782ba5a07b6cd9c47e158d441cf935b5ac7
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.cpp
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrCopyTests.hpp
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrTests.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt