proton: Add vkd3dbindlesstb compat config option
This commit is contained in:
parent
859486e584
commit
1b975c15dd
2 changed files with 7 additions and 0 deletions
|
@ -278,6 +278,7 @@ the Wine prefix. Removing the option will revert to the previous behavior.
|
|||
| <tt>noforcelgadd</tt> | | Disable forcelgadd. If both this and `forcelgadd` are set, enabled wins. |
|
||||
| <tt>oldglstr</tt> | <tt>PROTON_OLD_GL_STRING</tt> | Set some driver overrides to limit the length of the GL extension string, for old games that crash on very long extension strings. |
|
||||
| <tt>vkd3dfl12</tt> | | Force the Direct3D 12 feature level to 12, regardless of driver support. |
|
||||
| <tt>vkd3dbindlesstb</tt>| | Put `force_bindless_texel_buffer` into `VKD3D_CONFIG`. |
|
||||
| <tt>hidenvgpu</tt> | <tt>PROTON_HIDE_NVIDIA_GPU</tt>| Force Nvidia GPUs to always be reported as AMD GPUs. Some games require this if they depend on Windows-only Nvidia driver functionality. See also DXVK's nvapiHack config, which only affects reporting from Direct3D. |
|
||||
| | <tt>WINE_FULLSCREEN_INTEGER_SCALING</tt> | Enable integer scaling mode, to give sharp pixels when upscaling. |
|
||||
| <tt>cmdlineappend:</tt>| | Append the string after the colon as an argument to the game command. May be specified more than once. Escape commas and backslashes with a backslash. |
|
||||
|
|
6
proton
6
proton
|
@ -710,6 +710,12 @@ class Session:
|
|||
if "forcelgadd" in self.compat_config:
|
||||
self.env["WINE_LARGE_ADDRESS_AWARE"] = "1"
|
||||
|
||||
if "vkd3dbindlesstb" in self.compat_config:
|
||||
if not "VKD3D_CONFIG" in self.env:
|
||||
self.env["VKD3D_CONFIG"] = "force_bindless_texel_buffer"
|
||||
else:
|
||||
self.env["VKD3D_CONFIG"] = self.env["VKD3D_CONFIG"] + ",force_bindless_texel_buffer"
|
||||
|
||||
if "vkd3dfl12" in self.compat_config:
|
||||
if not "VKD3D_FEATURE_LEVEL" in self.env:
|
||||
self.env["VKD3D_FEATURE_LEVEL"] = "12_0"
|
||||
|
|
Loading…
Reference in a new issue