upscale: D3D11 NGX parameters use the shared capability table

The r5 merge kept DroidDeck's old D3D11 PopulateParameters line, which called the removed
"DLSS unavailable on D3D11" helper; upstream fills D3D11 like Vulkan and D3D12 now. nvngx.dll
failed to link. All six bridge DLLs build locally (mingw-w64 13.2) and match their exports.
Headers of the modified bridge files name 71c140d9.
This commit is contained in:
The412Banner committed 2026-12-04 19:05:46 -05:00
1 parent 9b21ea2e90
commit 971b74b594
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale a0ab6b0f (see README.md).
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale 71c140d9 (see README.md).
// Winlator Ludashi OptiScaler-style NVIDIA NGX (DLSS) -> AMD FSR 4.1.1 Hexagon HTP NPU Bridge
//
// Exports the full 89-symbol NVIDIA NGX ABI (Vulkan + D3D12 + D3D11) so DLSS-capable Windows
@@ -1059,7 +1059,7 @@ __declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_GetCapabilityParameters(W
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_GetParameters(WlNgxParam **p) { return NVSDK_NGX_VULKAN_GetCapabilityParameters(p); }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_AllocateParameters(WlNgxParam **p) { return NVSDK_NGX_VULKAN_AllocateParameters(p); }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_DestroyParameters(WlNgxParam *p) { return NVSDK_NGX_VULKAN_DestroyParameters(p); }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_PopulateParameters_Impl(WlNgxParam *p) { populate_d3d11_cap_params(p); return NVSDK_NGX_Result_Success; }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_PopulateParameters_Impl(WlNgxParam *p) { populate_cap_params(p); return NVSDK_NGX_Result_Success; }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_GetScratchBufferSize(uint32_t a, WlNgxParam *b, size_t *c) { return NVSDK_NGX_VULKAN_GetScratchBufferSize(a, b, c); }
__declspec(dllexport) NVSDK_NGX_Result NVSDK_NGX_D3D11_CreateFeature(void *ctx, uint32_t feat, WlNgxParam *p, NVSDK_NGX_Handle **outH) {
(void)ctx; (void)feat;
+1 -1
View File
@@ -1,4 +1,4 @@
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale a0ab6b0f (see README.md).
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale 71c140d9 (see README.md).
// ARM64EC / FEXCore / Box64 / Wine-safe IAT + GetProcAddress NGX hook engine.
// Installed inside nvapi64.dll so that when nvsdk_ngx.lib (inside Cyberpunk 2077's
// sl.common.dll, RDR2.exe, etc.) tries to locate, signature-verify, and load
+1 -1
View File
@@ -1,4 +1,4 @@
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale a0ab6b0f (see README.md).
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale 71c140d9 (see README.md).
// Full OptiScaler/fakenvapi-parity nvapi64.dll shim for Winlator Ludashi FSR 4 NPU.
// - Dynamically queries DXGI Adapter 0 LUID so NVIDIA Streamline (Cyberpunk 2077, etc.)
// matches the DXGI adapter to our spoofed NVIDIA GeForce RTX 2060 (Turing TU106).
+1 -1
View File
@@ -1,4 +1,4 @@
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale a0ab6b0f (see README.md).
// DroidDeck: modified from michaelisomer-cyber/Winlator-NeuralScale 71c140d9 (see README.md).
// Windows-side in-process Vulkan Seam Client for Winlator Ludashi FSR 4.1.1 HTP NPU Layer.
// Allocates the host-coherent WlFsr4Mailbox + marker buffer on the game's VkDevice and
// rings the vkCmdUpdateBuffer doorbell so libVkLayer_winlator_fsr4_npu.so records the