aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/00-mesa-defaults.conf
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2020-07-01 08:06:09 +0200
committerMarge Bot <[email protected]>2020-07-02 08:31:57 +0000
commitab9ecb607b88dd4610815ac254205656918e408e (patch)
tree76c4bf96d6eb748d2b6d44f7a32606b04e714414 /src/util/00-mesa-defaults.conf
parent311b9f25834d9ad6ad91f9eb41ec77ab71ab2a73 (diff)
radv,vulkan: add a new x11 wsi drirc workaround for DOOM Eternal
DOOM Eternal happily creates a swapchain with 2 images for IMMEDIATE. This fixes a 10% performance issue with RADV. Cc: 20.1 <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5704>
Diffstat (limited to 'src/util/00-mesa-defaults.conf')
-rw-r--r--src/util/00-mesa-defaults.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index b74118160db..ddc65a21fe8 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -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">