Do not use ycbcr formats if ycbcr extension is not supported
authorSlawomir Cygan <slawomir.cygan@intel.com>
Tue, 5 Sep 2017 14:39:12 +0000 (16:39 +0200)
committerAlexander Galazin <alexander.galazin@arm.com>
Tue, 5 Sep 2017 18:25:15 +0000 (20:25 +0200)
commit8c9c0c597daddb009c37686e8680870524e8faa1
treecca519dd8100079dd19612d3853ee1b4bcc9f60c
parent69d9009f94180e8a14dbaaedc1f2280fdaa64424
Do not use ycbcr formats if ycbcr extension is not supported

Spec says (on "vkGetPhysicalDeviceFormatProperties"):
"format must be a valid VkFormat value"

Formats from future or unsupported extensions do not
constitute a "valid VkFormat values".

Affects: dEQP-VK.memory.requirements.*.image.*

Components: Vulkan

VK-GL-CTS issue: 663

Change-Id: Ia284977b830d5fda14bcbd9d96010995d84014d5
external/vulkancts/modules/vulkan/memory/vktMemoryRequirementsTests.cpp