mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-24 20:48:12 +03:00
proton: Optionally copy d3d12core for vkd3d-proton.
In anticipation of a pull-request being merged that moves things around and introduces d3d12core.dll. This should be made non-optional once the vkd3d-proton changes land. Link: https://github.com/HansKristian-Work/vkd3d-proton/pull/1458
This commit is contained in:
parent
f679be3cc0
commit
5ac739906d
9
proton
9
proton
@ -917,7 +917,7 @@ class CompatData:
|
||||
wined3dfiles = ["d3d12", "d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"]
|
||||
else:
|
||||
dxvkfiles = ["d3d11", "d3d10core", "d3d9"]
|
||||
vkd3d_protonfiles = ["d3d12"]
|
||||
vkd3d_protonfiles = ["d3d12", "d3d12core"]
|
||||
wined3dfiles = []
|
||||
|
||||
if use_dxvk_dxgi:
|
||||
@ -939,10 +939,13 @@ class CompatData:
|
||||
g_session.dlloverrides[f] = "n"
|
||||
|
||||
for f in vkd3d_protonfiles:
|
||||
optional = False
|
||||
if f == "d3d12core":
|
||||
optional = True
|
||||
try_copy(g_proton.lib64_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/system32",
|
||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional)
|
||||
try_copy(g_proton.lib_dir + "wine/vkd3d-proton/" + f + ".dll", "drive_c/windows/syswow64",
|
||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional)
|
||||
g_session.dlloverrides[f] = "n"
|
||||
|
||||
# If the user requested the NVAPI be available, copy it into place.
|
||||
|
Loading…
x
Reference in New Issue
Block a user