From e192c80db7189d5406f72bb558c5a224e451d550 Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 5 Mar 2026 02:55:45 +0000 Subject: [PATCH] Merge fix --- src/video_core/vulkan_common/vulkan_device.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 3ddd3d1006..d2e70faaa2 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -552,11 +552,11 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR features.shader_float16_int8.shaderFloat16 = false; } - // Mali/ NVIDIA proprietary drivers: Shader stencil export not supported - if (nv_major_version >= 510) { + // NVIDIA proprietary drivers: Shader stencil export not supported + if (properties.properties.driverVersion >= VK_MAKE_API_VERSION(510, 0, 0, 0)) { LOG_WARNING(Render_Vulkan, - "NVIDIA Drivers >= 510 do not support MSAA->MSAA image blits. " - "MSAA scaling will use 3D helpers. MSAA resolves work normally."); + "NVIDIA Drivers >= 510 do not support MSAA->MSAA image blits. " + "MSAA scaling will use 3D helpers. MSAA resolves work normally."); cant_blit_msaa = true; }