drirc: Set limit_trig_input_range option for glmark2
authorVadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Mon, 16 May 2022 12:49:52 +0000 (15:49 +0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 18 May 2022 12:41:59 +0000 (12:41 +0000)
This fixes jellyfish rendering issues in glmark2 on Intel.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6479
Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16525>

src/util/00-mesa-defaults.conf

index cd2bae3..ea6f116 100644 (file)
@@ -907,6 +907,14 @@ TODO: document the other workarounds.
         <application name="Middle Earth: Shadow of Mordor" executable="ShadowOfMordor">
             <option name="vs_position_always_invariant" value="true" />
         </application>
+        <application name="glmark2" executable="glmark2">
+            <option name="limit_trig_input_range" value="true" />
+        </application>
+    </device>
+    <device driver="crocus">
+        <application name="glmark2" executable="glmark2">
+            <option name="limit_trig_input_range" value="true" />
+        </application>
     </device>
     <device driver="anv">
         <application name="Aperture Desk Job" executable="deskjob">