Add tests for VK_EXT_display_surface_counter
authorRicardo Garcia <rgarcia@igalia.com>
Tue, 24 Sep 2019 15:45:37 +0000 (17:45 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 17 Oct 2019 08:32:48 +0000 (04:32 -0400)
commit3cf62330d0482ee10d8cf4c6f6a49833fef56d44
tree9ba00d7125528d728557c8e0518e7a6aeaf286ff
parentf1e0c1fcefd6e27aeb23b4bdc8378c82f321f8c4
Add tests for VK_EXT_display_surface_counter

This commit adds tests for VK_EXT_display_surface_counter that try to
verify vkGetPhysicalDeviceSurfaceCapabilities2EXT returns the same set
of capabilities as vkGetPhysicalDeviceSurfaceCapabilitiesKHR and the
supportedSurfaceCounters field has coherent values for display surfaces
and non-display surfaces.

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

New tests:
dEQP-VK.wsi.*.surface.query_surface_counters
dEQP-VK.wsi.display.surface_counters

Components: Vulkan
VK-GL-CTS issue: 1683

Change-Id: I7754411c7b458201e9a7f5e8a99dfada388124d7
android/cts/master/vk-master.txt
external/vulkancts/framework/vulkan/vkWsiUtil.cpp
external/vulkancts/framework/vulkan/vkWsiUtil.hpp
external/vulkancts/modules/vulkan/wsi/vktWsiDisplayTests.cpp
external/vulkancts/modules/vulkan/wsi/vktWsiSurfaceTests.cpp
external/vulkancts/mustpass/master/vk-default-no-waivers.txt
external/vulkancts/mustpass/master/vk-default.txt