Add tests for checking YCbCr format enums in Vulkan 1.1
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 7 Mar 2018 17:02:56 +0000 (18:02 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 5 Apr 2018 07:54:30 +0000 (03:54 -0400)
commitaf03cbdcbbdd4baf3144c5be6fb4bee21aa2b6b3
tree9158a1ca9f1b273f24871540c17163b5aedb92aa
parenta7dbe648e2d7a72dbdd66b49f97f13cdcfdb22ce
Add tests for checking YCbCr format enums in Vulkan 1.1

Check that YCbCr format enums added in Vulkan 1.1 are
recognized by implementation, even when samplerYcbcrConversion
feature is not supported.

This change splits 'checkYcrbrConversionSupport' into:
- API support (if VkFormats are recognized by the implementation)
- the actual conversion support.

YCbCr feature check tests are run always when API is supported,
even if YCbCr conversion it not. However, support for format properties
and image format properties is still not required, if YCBCr conversion feature is
not supported.

Component: Vulkan

VK-GL-CTS Issue: 1059

Affects:
dEQP-VK.api.info.format_properties.*
dEQP-VK.api.info.*image_format_properties*

Change-Id: I84280eaa481a566e05ce028b9e4ec407f2d27599
external/vulkancts/modules/vulkan/api/vktApiFeatureInfo.cpp