Mesa (master): driconf: add workarounds for Teardown

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 14 06:58:59 UTC 2021


Module: Mesa
Branch: master
Commit: 3a56f06998223ab8f9fc351cd1051d54f3ae6022
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a56f06998223ab8f9fc351cd1051d54f3ae6022

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Mon Apr 12 11:05:47 2021 +0200

driconf: add workarounds for Teardown

Based on the comments from https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10172>

---

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

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 77f7fccf76d..55bed6bb048 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -306,6 +306,12 @@ TODO: document the other workarounds.
             <option name="ignore_map_unsynchronized" value="true" />
         </application>
 
+        <application name="Teardown" executable="teardown.exe">
+            <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714 -->
+            <option name="force_integer_tex_nearest" value="true" />
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
+        </application>
+
         <!-- The GL thread allowlist is below, workarounds are above.
              Keep it that way. -->
 
@@ -716,6 +722,10 @@ TODO: document the other workarounds.
         <application name="Wasteland 2" executable="WL2">
             <option name="radeonsi_clamp_div_by_zero" value="true" />
         </application>
+        <application name="Teardown" executable="teardown.exe">
+            <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714 -->
+            <option name="radeonsi_clamp_div_by_zero" value="true" />
+        </application>
     </device>
     <device driver="i965">
         <application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor">



More information about the mesa-commit mailing list