Fix query_present_modes_surfaceless tests
authoraitor_lunarg <aitor@lunarg.com>
Mon, 16 Jan 2023 22:59:34 +0000 (23:59 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 24 Feb 2023 11:08:03 +0000 (11:08 +0000)
commit37ab2a5678ddc90710d51008c6f88930d6d8364b
treea5b3a0e9ed0275efee6a7af214cc68c075828e48
parentf7a8ccc235dab8dd616b795e85e2384747600e87
Fix query_present_modes_surfaceless tests

Tests expected to have same values for null surface and non-null
surfaces when retrieving present modes which is not correct.
When retrieving present modes with null surfaces, retrieved modes
will be a subset of all modes present in all surfaces for version 1.
For version 2, they can either be FIFO_KHR, SHARED_DEMAND_REFRESH_KHR
and SHARED_CONTINUOUS_REFRESH_KHR.

Affects:
dEQP-VK.wsi.*.surface.query_present_modes_surfaceless

Components: Vulkan
VK-GL-CTS issue: 4221

Change-Id: I79be6e8537184572ab164a7216e65d7e2f60bc42
external/vulkancts/modules/vulkan/wsi/vktWsiSurfaceTests.cpp