summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2021-11-24 12:58:48 -0500
committerMarge Bot <emma+marge@anholt.net>2021-11-26 10:54:49 +0000
commit5a970dbac344c7303c62375d688e0653014c372f (patch)
treeec76071b877185d48736deb7b9aa6c756b143cc4
parent9c4d92508d2dc06f16489eea863185aec609aa5d (diff)
driconf: enable glthread for Minecraft
+30% performance Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13947>
-rw-r--r--src/util/00-mesa-defaults.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 04ba3fd554e..634e915d643 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -358,6 +358,10 @@ TODO: document the other workarounds.
<!-- The GL thread allowlist is below, workarounds are above.
Keep it that way. -->
+ <application name="Minecraft" executable="minecraft-launcher">
+ <option name="mesa_glthread" value="true"/>
+ </application>
+
<application name="Alien Isolation" executable="AlienIsolation">
<option name="mesa_glthread" value="true"/>
</application>