diff options
author | Liam <byteslice@airmail.cc> | 2022-12-20 01:29:58 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-01-05 04:22:01 +0100 |
commit | 301e9bbc03821ef7943d84b24b32c8b732a39f6a (patch) | |
tree | 3afaf56153ba07f4a8ec083bac4b59d119ed2723 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | Merge pull request #9501 from FernandoS27/yfc-rel-2 (diff) | |
download | yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar.gz yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar.bz2 yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar.lz yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar.xz yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.tar.zst yuzu-301e9bbc03821ef7943d84b24b32c8b732a39f6a.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 5c5bfa18d..3d1109b30 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -1472,7 +1472,7 @@ std::vector<const char*> Device::LoadExtensions(bool requires_surface) { is_patch_list_restart_supported = primitive_topology_list_restart.primitiveTopologyPatchListRestart; } - if (has_khr_image_format_list && has_khr_swapchain_mutable_format) { + if (requires_surface && has_khr_image_format_list && has_khr_swapchain_mutable_format) { extensions.push_back(VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME); extensions.push_back(VK_KHR_SWAPCHAIN_MUTABLE_FORMAT_EXTENSION_NAME); khr_swapchain_mutable_format = true; |