Skip to content

Commit

Permalink
nvcuda: Add stub DLL
Browse files Browse the repository at this point in the history
This is needed for DLSS versions 2.1.38 through 2.1.40 to work within
Proton, as they contain a link-time dependency on nvcuda.dll. In the
case of what is needed by DLSS, no ordinals need to be exported for
nvcuda.dll to successfully load.

Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Link: ValveSoftware/wine#119
  • Loading branch information
liam-middlebrook authored and imaami committed Feb 16, 2022
1 parent 50e3220 commit ea24e0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,7 @@ enable_ntdll
enable_ntdsapi
enable_ntoskrnl_exe
enable_ntprint
enable_nvcuda
enable_objsel
enable_odbc32
enable_odbcbcp
Expand Down Expand Up @@ -22240,6 +22241,7 @@ wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
wine_fn_config_makefile dlls/ntprint enable_ntprint
wine_fn_config_makefile dlls/ntprint/tests enable_tests
wine_fn_config_makefile dlls/nvcuda enable_nvcuda
wine_fn_config_makefile dlls/objsel enable_objsel
wine_fn_config_makefile dlls/odbc32 enable_odbc32
wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3138,6 +3138,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe)
WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe/tests)
WINE_CONFIG_MAKEFILE(dlls/ntprint)
WINE_CONFIG_MAKEFILE(dlls/ntprint/tests)
WINE_CONFIG_MAKEFILE(dlls/nvcuda)
WINE_CONFIG_MAKEFILE(dlls/objsel)
WINE_CONFIG_MAKEFILE(dlls/odbc32)
WINE_CONFIG_MAKEFILE(dlls/odbcbcp)
Expand Down
1 change: 1 addition & 0 deletions dlls/nvcuda/Makefile.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MODULE = nvcuda.dll
Empty file added dlls/nvcuda/nvcuda.spec
Empty file.

0 comments on commit ea24e0b

Please sign in to comment.