Browse Source

Partially reverts "[vk] Changing conditions for Swapchain maintenance1 "

This reverts commit 3fc3b5fdad.
test-donotmerge
Caio Oliveira 1 week ago
parent
commit
20b171ded3
No known key found for this signature in database GPG Key ID: AAAE6C7FD4186B0C
  1. 5
      src/video_core/vulkan_common/vulkan_instance.cpp

5
src/video_core/vulkan_common/vulkan_instance.cpp

@ -83,11 +83,6 @@ namespace {
if (window_type != Core::Frontend::WindowSystemType::Headless && AreExtensionsSupported(dld, *properties, std::array{VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME}))
extensions.push_back(VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME);
}
// VK_EXT_surface_maintenance1 is required for VK_EXT_swapchain_maintenance1
if (window_type != Core::Frontend::WindowSystemType::Headless &&
AreExtensionsSupported(dld, std::array{VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME})) {
extensions.push_back(VK_EXT_SURFACE_MAINTENANCE_1_EXTENSION_NAME);
}
return extensions;
}

Loading…
Cancel
Save