Don't fail DisplayPlaneProperties2 with no display
authorLiam Middlebrook <lmiddlebrook@nvidia.com>
Mon, 9 Jul 2018 19:27:02 +0000 (12:27 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 20 Jul 2018 11:10:47 +0000 (07:10 -0400)
commit8a6ba055aa65126573713cd20fbb99660a482917
treebda68fd0eba89becbde172b51e14c1a211c977b6
parent3d6125365b0ec9882bbeb8683653fd7001b3df63
Don't fail DisplayPlaneProperties2 with no display

Instead, we should mark this test as not supported. The Vulkan spec
states that:
    Devices must support at least one plane on each display

If there are no displays connected, the driver is allowed to return 0
planes.

VK-GL-CTS issue: 1271
Components: Vulkan

Change-Id: I097224fbdf3e25c921ac9b96d16954caab1bb895
Affects: dEQP-VK.wsi.display.get_display_plane_properties2
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp