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#119
  • Loading branch information
liam-middlebrook authored and ivyl committed Feb 9, 2022
1 parent 3563f05 commit fdfb4b9
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 @@ -1566,6 +1566,7 @@ enable_ntdll
enable_ntdsapi
enable_ntoskrnl_exe
enable_ntprint
enable_nvcuda
enable_objsel
enable_odbc32
enable_odbcbcp
Expand Down Expand Up @@ -22205,6 +22206,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 @@ -3134,6 +3134,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 fdfb4b9

Please sign in to comment.