Fix combined depth stencil handling in dEQP-VK.api.copy_and_blit
authorPyry Haulos <phaulos@google.com>
Tue, 25 Oct 2016 08:41:48 +0000 (17:41 +0900)
committerPyry Haulos <phaulos@google.com>
Thu, 1 Dec 2016 23:20:12 +0000 (15:20 -0800)
commit0b0c5dba7daed6439ec6352aacf3cd216d1c1dd5
tree28bcad85716849a563aec1615bad6d44e5f50bed
parentdf0c09506868772560860649ec38b0d9923fd0e6
Fix combined depth stencil handling in dEQP-VK.api.copy_and_blit

The existing code had several bugs related to handling of combined DS
formats that manifested on implementations that support blitting of
said formats.

vk::isSupportedByFramework(VkFormat) utility function is added for
checking whether format is mappable to tcu::TextureFormat. This query
is used to filter out test cases that will always result in InternalError,
namely all cases that attempted to exercise formats with 64-bit channels.

Vulkan null driver is updated to advertise
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT to allow easier testing.

Affects:

dEQP-VK.api.copy_and_blit.*

See #488
See #515

Change-Id: Ic03c523aea6a4bc9115568ec486200c53ec37d80
android/cts/master/vk-master.txt
external/vulkancts/framework/vulkan/vkImageUtil.cpp
external/vulkancts/framework/vulkan/vkImageUtil.hpp
external/vulkancts/framework/vulkan/vkNullDriver.cpp
external/vulkancts/modules/vulkan/api/vktApiCopiesAndBlittingTests.cpp
external/vulkancts/mustpass/1.0.1/vk-default.txt