summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2021-05-27 09:26:24 +0200
committerEric Engestrom <eric@engestrom.ch>2021-05-31 22:48:18 +0200
commitb84b2bcd7587893d874e52aab8a833e045804323 (patch)
treed5f8fea59b866dcdb519dd3256d45845de9b6dc9
parentc53194d8766202228b0c17fa1719123783ffe258 (diff)
downloadmesa-b84b2bcd7587893d874e52aab8a833e045804323.tar.gz
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@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11029> (cherry picked from commit 816be7d46fc29c31d94747de2928733f69758618)
-rw-r--r--.pick_status.json2
-rw-r--r--src/util/00-mesa-defaults.conf4
2 files changed, 5 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 5fc1d511a01..d4b76c63e64 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -202,7 +202,7 @@
"description": "radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World",
"nominated": true,
"nomination_type": 0,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 46cc886e386..2e17002901d 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -775,5 +775,9 @@ TODO: document the other workarounds.
<application name="World War Z" application_name_match="WWZ">
<option name="radv_override_uniform_offset_alignment" value="16" />
</application>
+
+ <application name="Monster Hunter World" application_name_match="MonsterHunterWorld.exe">
+ <option name="radv_invariant_geom" value="true" />
+ </application>
</device>
</driconf>