Module: Mesa
Branch: main
Commit: 9e9eb87dd3a2ffe782ac85998a69623f59306caf
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e9eb87dd3a2ffe782ac85998a69623f59306caf

Author: Rhys Perry <[email protected]>
Date:   Wed Oct 18 15:35:03 2023 +0100

radv: enable radv_disable_trunc_coord for vkd3d-proton/DXVK

This fixes diagonal SSAO artifacts in some games.

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9253
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6395
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25911>

---

 src/util/00-radv-defaults.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf
index 5678c5e011f..45b571ba0ac 100644
--- a/src/util/00-radv-defaults.conf
+++ b/src/util/00-radv-defaults.conf
@@ -39,11 +39,13 @@ Application bugs worked around in this file:
         <engine engine_name_match="vkd3d">
             <option name="radv_zero_vram" value="true" />
             <option name="radv_disable_aniso_single_level" value="true" />
+            <option name="radv_disable_trunc_coord" value="true" />
             <option name="radv_dgc" value="true" />
         </engine>
 
         <engine engine_name_match="DXVK">
             <option name="radv_disable_aniso_single_level" value="true" />
+            <option name="radv_disable_trunc_coord" value="true" />
         </engine>
 
         <engine engine_name_match="mesa zink">

Reply via email to