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

Author: Samuel Pitoiset <[email protected]>
Date:   Wed May 26 16:32:42 2021 +0200

radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions

DXVK 1.8.1 marks position as always invariant but it's disabled for
SotTR because it introduces rendering issues on NV. The DX12 version
also likely needs that.

Fixes a similar foliage issue initially found with the native version.

Cc: 21.1 mesa-stable
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11006>

---

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

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 9b0815f3b51..cdc498ba065 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -756,11 +756,15 @@ TODO: document the other workarounds.
         </engine>
 
         <!-- Game workarounds -->
-        <application name="Shadow Of The Tomb Raider" 
application_name_match="ShadowOfTheTomb">
+        <application name="Shadow Of The Tomb Raider (Native)" 
application_name_match="ShadowOfTheTomb">
             <option name="radv_report_llvm9_version_string" value="true" />
             <option name="radv_invariant_geom" value="true" />
        </application>
 
+        <application name="Shadow Of The Tomb Raider (DX11/DX12)" 
application_name_match="SOTTR.exe">
+            <option name="radv_invariant_geom" value="true" />
+        </application>
+
        <application name="RAGE 2" executable="RAGE2.exe">
             <option name="radv_enable_mrt_output_nan_fixup" value="true" />
         </application>

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to