vulkan-wsi-layer/wsi/headless
Angeliki Agathi Tsintzira 188ffe6a26 Enable instance extensions
Modify the layer so that instance extensions needed for Wayland are only enabled when Wayland is selected.

In the past, the layer was changed to explicitly enable the instance extensions it needs in the intercepted calls to vkCreateInstance. Therefore, the layers always enabled the extension VK_KHR_external_memory_capabilities, despite this is only required by Wayland.

In this patch, this extension is only enabled when Wayland is enabled, i.e. when VK_KHR_wayland_surface is part of the extensions passed to vkCreateInstance.

Signed-off-by: Angeliki Agathi Tsintzira <angelikiagathi.tsintzira@arm.com>
Change-Id: I57e98b36e42012ba46769e9dd760a628a09b9ba5
2023-09-28 09:35:19 +01:00
..
surface.cpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface_properties.cpp Enable instance extensions 2023-09-28 09:35:19 +01:00
surface_properties.hpp Enable instance extensions 2023-09-28 09:35:19 +01:00
swapchain.cpp Remove duplication of create_aliased_image_handle implementations 2022-08-03 13:43:38 +00:00
swapchain.hpp Remove duplication of create_aliased_image_handle implementations 2022-08-03 13:43:38 +00:00