Mesa (staging/22.0): radv: enable radv_disable_aniso_single_level for DXVK/vkd3d
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 1 16:17:36 UTC 2022
Module: Mesa
Branch: staging/22.0
Commit: 645ae5a6772d498e907481d0296f34abb391eef8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=645ae5a6772d498e907481d0296f34abb391eef8
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Mar 14 09:04:08 2022 +0100
radv: enable radv_disable_aniso_single_level for DXVK/vkd3d
It seems the default D3D behavior and it's complicated to emulate this
in DXVK/vkd3d. Enable it by default to prevent rendering issues in
other games not listed here.
Cc: 22.0 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15368>
(cherry picked from commit 174d086e8c818db4522731e845bd259e2baa8830)
---
src/amd/vulkan/00-radv-defaults.conf | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/src/amd/vulkan/00-radv-defaults.conf b/src/amd/vulkan/00-radv-defaults.conf
index 3118909f0b4..d3bef31ab11 100644
--- a/src/amd/vulkan/00-radv-defaults.conf
+++ b/src/amd/vulkan/00-radv-defaults.conf
@@ -38,6 +38,11 @@ Application bugs worked around in this file:
<!-- Engine workarounds -->
<engine engine_name_match="vkd3d">
<option name="radv_zero_vram" value="true" />
+ <option name="radv_disable_aniso_single_level" value="true" />
+ </engine>
+
+ <engine engine_name_match="DXVK">
+ <option name="radv_disable_aniso_single_level" value="true" />
</engine>
<engine engine_name_match="Quantic Dream Engine">
@@ -125,22 +130,6 @@ Application bugs worked around in this file:
<option name="radv_disable_htile_layers" value="true" />
</application>
- <application name="Battlefield 1 (DX11/DX12)" application_name_match="bf1.exe">
- <option name="radv_disable_aniso_single_level" value="true" />
- </application>
-
- <application name="Battlefield V (DX11/DX12)" application_name_match="bfv.exe">
- <option name="radv_disable_aniso_single_level" value="true" />
- </application>
-
- <application name="The Evil Within" application_name_match="EvilWithin.exe">
- <option name="radv_disable_aniso_single_level" value="true" />
- </application>
-
- <application name="The Evil Within 2" application_name_match="TEW2.exe">
- <option name="radv_disable_aniso_single_level" value="true" />
- </application>
-
<application name="Fable Anniversary" application_name_match="Fable Anniversary.exe">
<option name="radv_disable_dcc" value="true" />
</application>
More information about the mesa-commit
mailing list