From b42776ae4c5bc7d1b953fcfdb1d7dd0214e623c7 Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 26 Mar 2026 21:08:42 -0700 Subject: [PATCH] SuperResolution: disable DSR if Windows SDK version is less than 10.0.26100.0 --- Graphics/SuperResolution/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphics/SuperResolution/CMakeLists.txt b/Graphics/SuperResolution/CMakeLists.txt index 907b4adc9..b22c57d1c 100644 --- a/Graphics/SuperResolution/CMakeLists.txt +++ b/Graphics/SuperResolution/CMakeLists.txt @@ -8,7 +8,7 @@ set(DILIGENT_DLSS_SUPPORTED FALSE CACHE INTERNAL "DLSS is not supported") set(DILIGENT_DSR_SUPPORTED FALSE CACHE INTERNAL "DirectSR is not supported") set(DILIGENT_FSR_SUPPORTED TRUE CACHE INTERNAL "FSR is not supported") -if(PLATFORM_WIN32 AND NOT MINGW_BUILD AND CMAKE_SIZEOF_VOID_P EQUAL 8) +if(PLATFORM_WIN32 AND NOT MINGW_BUILD AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND ("${WINDOWS_SDK_VERSION}" VERSION_GREATER_EQUAL "10.0.26100.0")) if (D3D11_SUPPORTED OR D3D12_SUPPORTED OR VULKAN_SUPPORTED) set(DILIGENT_DLSS_SUPPORTED TRUE CACHE INTERNAL "DLSS is supported on Win32 platform") endif()