egl: rename _eglMatchDriver() to _eglInitializeDisplay()
[mesa.git] / src / util / 00-mesa-defaults.conf
index dc7fb30a3f906119a3dd8e17a113853eb98314ef..1452d4a5937739cad47ceb6a907085f9afbabf74 100644 (file)
@@ -278,7 +278,15 @@ TODO: document the other workarounds.
             <option name="force_integer_tex_nearest" value="true" />
         </application>
 
-        <!-- The GL thread whitelist is below, workarounds are above.
+        <!-- Workarounds for SPECviewperf relying on invalid / non-conformant
+             OpenGL behavior. Older SPECviewperf versions might also need this.
+          -->
+        <application name="SPECviewperf13" executable="viewperf">
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
+            <option name="allow_glsl_120_subset_in_110" value="true" />
+        </application>
+
+        <!-- The GL thread allowlist is below, workarounds are above.
              Keep it that way. -->
 
         <application name="Alien Isolation" executable="AlienIsolation">
@@ -461,7 +469,7 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true" />
         </application>
 
-        <!-- Adaptive sync blacklist follows below: -->
+        <!-- Adaptive sync denylist follows below: -->
         <application name="gnome-shell" executable="gnome-shell">
             <option name="adaptive_sync" value="false" />
         </application>
@@ -501,6 +509,9 @@ TODO: document the other workarounds.
         <application name="compton" executable="compton">
             <option name="adaptive_sync" value="false" />
         </application>
+        <application name="picom" executable="picom">
+            <option name="adaptive_sync" value="false" />
+        </application>
         <application name="xfwm4" executable="xfwm4">
             <option name="adaptive_sync" value="false" />
         </application>
@@ -585,6 +596,12 @@ TODO: document the other workarounds.
         <application name="DOOM" executable="DOOMx64vk.exe">
             <option name="vk_x11_strict_image_count" value="true" />
         </application>
+
+        <!-- DOOM Doom Eternal happily creates a swapchain with 2 images for
+             IMMEDIATE. This fixes a 10% performance issue with RADV. -->
+        <application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
+            <option name="vk_x11_ensure_min_image_count" value="true" />
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
     <device driver="vmwgfx">
@@ -646,6 +663,9 @@ TODO: document the other workarounds.
         <application name="7 Days to Die" executable="7DaysToDie.x86">
             <option name="radeonsi_zerovram" value="true" />
         </application>
+        <application name="SPECviewperf13" executable="viewperf">
+            <option name="radeonsi_sync_compile" value="true" />
+        </application>
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES