Check supportedAlpha is never zero
authorRicardo Garcia <rgarcia@igalia.com>
Thu, 13 May 2021 11:50:34 +0000 (13:50 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 28 May 2021 08:35:07 +0000 (08:35 +0000)
commit3d1c8f0f53c05692e37b325019f95ac4b02a067f
tree8a748fb1c72f2473290b30669d114678e9ac9870
parent000993b8126a6cdcb5b58e28c410f0d96e5886c5
Check supportedAlpha is never zero

According to the spec, the value of supportedAlpha must contain at least
one valid VkDisplayPlaneAlphaFlagBitsKHR bit.

Affected tests:
dEQP-VK.wsi.display.get_display_plane_capabilities

Components: Vulkan
VK-GL-CTS issue: 2718

Change-Id: I4bdba857c8571d38a41bf8d69b10acc2bb5065ee
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp