driconf: add workarounds for Teardown
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 12 Apr 2021 09:05:47 +0000 (11:05 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 06:35:30 +0000 (06:35 +0000)
Based on the comments from https://gitlab.freedesktop.org/mesa/mesa/-/issues/3714.

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

src/util/00-mesa-defaults.conf

index 77f7fcc..55bed6b 100644 (file)
@@ -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">