From 40cd9bd96d758e65a90ade30127fb5b2d85dc735 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Fri, 31 Jul 2026 00:21:19 +0300 Subject: [PATCH] Prevented emptying the paths before Init for Vk too --- OptiScaler/inputs/NVNGX_DLSS_Vk.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/OptiScaler/inputs/NVNGX_DLSS_Vk.cpp b/OptiScaler/inputs/NVNGX_DLSS_Vk.cpp index d232749f..b3fd0194 100644 --- a/OptiScaler/inputs/NVNGX_DLSS_Vk.cpp +++ b/OptiScaler/inputs/NVNGX_DLSS_Vk.cpp @@ -194,38 +194,12 @@ NVSDK_NGX_API NVSDK_NGX_Result NVSDK_NGX_VULKAN_Init_Ext2( InSDKVersion, &localFeatureInfo); } - State::Instance().NVNGX_FeatureInfo_Paths.clear(); - - if (InFeatureInfo != nullptr) - { - if (InSDKVersion > 0x0000013) - State::Instance().NVNGX_Logger = localFeatureInfo.LoggingInfo; - - // Doom Ethernal is sending junk data - if (localFeatureInfo.PathListInfo.Length < 10) - { - for (size_t i = 0; i < localFeatureInfo.PathListInfo.Length; i++) - { - const wchar_t* path = localFeatureInfo.PathListInfo.Path[i]; - State::Instance().NVNGX_FeatureInfo_Paths.push_back(std::wstring(path)); - } - } - } - LOG_INFO("InApplicationId: {0}", InApplicationId); LOG_INFO("InSDKVersion: {0:x}", (UINT) InSDKVersion); std::wstring string(InApplicationDataPath); LOG_DEBUG("InApplicationDataPath {0}", wstring_to_string(string)); - if (State::Instance().NVNGX_FeatureInfo_Paths.size() > 0) - { - for (size_t i = 0; i < State::Instance().NVNGX_FeatureInfo_Paths.size(); ++i) - { - LOG_DEBUG("PathListInfo[{0}]: {1}", i, wstring_to_string(State::Instance().NVNGX_FeatureInfo_Paths[i])); - } - } - if (InInstance) { LOG_INFO("InInstance exist!");