drirc: Enable glthread for dolphin/citra/yuzu.
[mesa.git] / src / util / 00-mesa-defaults.conf
index 94a33480b1231f65176273c3ac24d32b941685b2..ba343ec5ffb4ae7499fd115954efb57c9144147d 100644 (file)
@@ -56,11 +56,13 @@ TODO: document the other workarounds.
         <application name="Unigine Sanctuary" executable="Sanctuary">
             <option name="force_glsl_extensions_warn" value="true" />
             <option name="disable_blend_func_extended" value="true" />
+            <option name="disable_arb_gpu_shader5" value="true" />
         </application>
 
         <application name="Unigine Tropics" executable="Tropics">
             <option name="force_glsl_extensions_warn" value="true" />
             <option name="disable_blend_func_extended" value="true" />
+            <option name="disable_arb_gpu_shader5" value="true" />
         </application>
 
         <application name="Unigine Heaven (32-bit)" executable="heaven_x86">
@@ -360,6 +362,25 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true"/>
         </application>
 
+        <!-- roughly 30% increase in fps -->
+        <application name="7 Days To Die (64-bit)" executable="7DaysToDie.x86_64">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="7 Days To Die (32-bit)" executable="7DaysToDie.x86">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
+        <!-- Emulator tends to have a high CPU load for GPU emulation, so separating the driver overhead yield an improvement. -->
+        <application name="Dolphin Emulator" executable="dolphin-emu">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Citra - Nintendo 3DS Emulator" executable="citra-qt">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Yuzu - Nintendo Switch Emulator" executable="yuzu">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
         <!-- Adaptive sync blacklist follows below: -->
         <application name="gnome-shell" executable="gnome-shell">
             <option name="adaptive_sync" value="false" />
@@ -521,6 +542,10 @@ TODO: document the other workarounds.
         <application name="DiRT Rally" executable="DirtRally">
             <option name="radeonsi_prim_restart_tri_strips_only" value="true"/>
         </application>
+        <application name="Gfx Bench" executable="gfxbench_gl">
+            <!-- Helps offscreen tests -->
+            <option name="mesa_glthread" value="true"/>
+        </application>
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES