Mesa (main): radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 31 07:17:55 UTC 2021


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

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Thu May 27 09:26:24 2021 +0200

radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World

DXVK 1.8.1 marks position as always invariant but the DX12 version
of the game has the same issue and it's not yet fixed on the
vkd3d-proton side.

Fixes some Z-fighting on GFX10.3.

Cc: 21.1 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11029>

---

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

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index a6786f0b2f1..9b0815f3b51 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -802,5 +802,9 @@ TODO: document the other workarounds.
         <application name="No Man's Sky" application_name_match="No Man's Sky">
             <option name="radv_lower_discard_to_demote" value="true" />
         </application>
+
+        <application name="Monster Hunter World" application_name_match="MonsterHunterWorld.exe">
+            <option name="radv_invariant_geom" value="true" />
+	</application>
     </device>
 </driconf>



More information about the mesa-commit mailing list