diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-01-06 15:59:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-06 15:59:59 +0100 |
commit | 020dbcdbc76a6db68637ed82b8841df44bd5dd49 (patch) | |
tree | e67b5c0015f0b0cd34bee94df67d99742edc5d53 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | Merge pull request #9559 from FernandoS27/cached-writes (diff) | |
parent | common: add setting for renderer clock workaround (diff) | |
download | yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar.gz yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar.bz2 yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar.lz yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar.xz yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.tar.zst yuzu-020dbcdbc76a6db68637ed82b8841df44bd5dd49.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 8e77f5aa3..77aee802d 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; |