Add testing for VK_EXT_ycbcr_image_arrays
authorPiers Daniell <pdaniell@nvidia.com>
Fri, 15 Feb 2019 23:47:55 +0000 (16:47 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 1 Mar 2019 12:52:25 +0000 (07:52 -0500)
commit524d17dd19cd2215618d9eefa8287db69155f1ba
tree67e3770c1ddb37e3213a0690042162a35d0c6008
parent5fd7d09bff8105a36f007b166fc4b3abdad0b5bd
Add testing for VK_EXT_ycbcr_image_arrays

Adds basic testing for VK_EXT_ycbcr_image_arrays by adding
new "array" variants to the ycbcr format tests. These array
variants check whether VK_EXT_ycbcr_image_arrays is
supported and wither the particular image format, usage,
tiling and creation flags allow more than 1 array layers
to be created.

If so, a 2 layer image is created, and the second layer is
populated with the input data. Then the shader does a
texture lookup of the second layer and outputs
that into the result image.

Affects:
dEQP-VK.ycbcr.format.*

Change-Id: I801cbe14f7bdd571ba8f192278a7a071c1c3daea
Components: Vulkan
android/cts/master/vk-master.txt
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrFormatTests.cpp
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrUtil.cpp
external/vulkancts/modules/vulkan/ycbcr/vktYCbCrUtil.hpp
external/vulkancts/mustpass/1.1.4/vk-default-no-waivers.txt
external/vulkancts/mustpass/1.1.4/vk-default.txt