radv,vulkan: add a new x11 wsi drirc workaround for DOOM Eternal
[mesa.git] / src / util / 00-mesa-defaults.conf
index b74118160db8b0b7c53f2ff3eb0fbbd0184ab1d9..ddc65a21fe85c4bd260995458ce9e21e9cf9cdce 100644 (file)
@@ -593,6 +593,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">