radv: enable radv_disable_trunc_coord for vkd3d-proton/DXVK
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 18 Oct 2023 14:35:03 +0000 (15:35 +0100)
committerEric Engestrom <eric@engestrom.ch>
Sat, 18 Nov 2023 21:18:45 +0000 (21:18 +0000)
This fixes diagonal SSAO artifacts in some games.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
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>
(cherry picked from commit 9e9eb87dd3a2ffe782ac85998a69623f59306caf)

.pick_status.json
src/util/00-radv-defaults.conf

index 6c34cd1..dffcbba 100644 (file)
         "description": "radv: enable radv_disable_trunc_coord for vkd3d-proton/DXVK",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null,
         "notes": null
index 5678c5e..45b571b 100644 (file)
@@ -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">