Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

test(fg): force-Ada-unlock switch and local verification of the 40-series patch

Veyra Goal Agent382d75b15529
diff --git a/src/pipeline/EnhanceGraph.cpp b/src/pipeline/EnhanceGraph.cpp
index ca79e14f..388c3db7 100644
--- a/src/pipeline/EnhanceGraph.cpp
+++ b/src/pipeline/EnhanceGraph.cpp
@@ -438,7 +438,11 @@ void EnhanceGraph::applyAdaMfgUnlock()
const auto& adapter = context_.adapter();
// Hard architecture gate: 50 series keeps its native multi-frame path and is
// never patched, and no other architecture is in scope either.
- if (!ngx::AdaMfgUnlock::adapterIsAda(adapter.vendorId, adapter.deviceId)) {
+ // VEYRA_TEST_FORCE_ADA_UNLOCK runs the same patch on a non-Ada host so the
+ // edit itself can be checked without 40-series hardware; never a product path.
+ wchar_t forced[2]{};
+ const bool forceOnAnyAdapter=GetEnvironmentVariableW(L"VEYRA_TEST_FORCE_ADA_UNLOCK",forced,2)>0;
+ if (!forceOnAnyAdapter&&!ngx::AdaMfgUnlock::adapterIsAda(adapter.vendorId, adapter.deviceId)) {
return;
}
wchar_t disabled[2]{};