diff --git a/README.md b/README.md index 2c6a3617..729c38c7 100644 --- a/README.md +++ b/README.md @@ -278,6 +278,7 @@ the Wine prefix. Removing the option will revert to the previous behavior. | noforcelgadd | | Disable forcelgadd. If both this and `forcelgadd` are set, enabled wins. | | oldglstr | PROTON_OLD_GL_STRING | Set some driver overrides to limit the length of the GL extension string, for old games that crash on very long extension strings. | | vkd3dfl12 | | Force the Direct3D 12 feature level to 12, regardless of driver support. | +| vkd3dbindlesstb| | Put `force_bindless_texel_buffer` into `VKD3D_CONFIG`. | | hidenvgpu | PROTON_HIDE_NVIDIA_GPU| 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. | | | WINE_FULLSCREEN_INTEGER_SCALING | Enable integer scaling mode, to give sharp pixels when upscaling. | | cmdlineappend:| | 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. | diff --git a/proton b/proton index 948edb5e..91a835a1 100755 --- a/proton +++ b/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"