summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-31 08:00:44 +0200
committerGitHub <noreply@github.com>2022-03-31 08:00:44 +0200
commit9b52ee455844519d74bee87a8e6dd911f47145f2 (patch)
treecc9ddaf9f0452fbe01234f49dfbe2579ab600a64 /src/video_core/vulkan_common
parentMerge pull request #8120 from german77/signal (diff)
parentVulkan: Use 3D helpers for MSAA scaling on NV drivers 510+ (diff)
downloadyuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.gz
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.bz2
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.lz
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.xz
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.tar.zst
yuzu-9b52ee455844519d74bee87a8e6dd911f47145f2.zip
Diffstat (limited to 'src/video_core/vulkan_common')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index e142bee35..4a5de9ddf 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -621,6 +621,11 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
khr_push_descriptor = false;
break;
}
+ const u32 nv_major_version = (properties.driverVersion >> 22) & 0x3ff;
+ if (nv_major_version >= 510) {
+ LOG_WARNING(Render_Vulkan, "NVIDIA Drivers >= 510 do not support MSAA image blits");
+ cant_blit_msaa = true;
+ }
}
const bool is_radv = driver_id == VK_DRIVER_ID_MESA_RADV;
if (ext_extended_dynamic_state && is_radv) {