drirc: enable vk_wsi_force_swapchain_to_current_extent for "The Talos Principle"

This game handles swapchain size incorrecly and can crash because of
it.

Enable this driconf as a workaround.

Fixes: 6139493ae3 ("vulkan/wsi: return VK_SUBOPTIMAL_KHR for sw/x11 on window resize")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24818>
This commit is contained in:
antonino
2023-08-21 22:52:50 +02:00
committed by Marge Bot
parent aa657247ce
commit 142e317024
+2
View File
@@ -596,9 +596,11 @@ TODO: document the other workarounds.
<application name="Talos Principle" executable="Talos">
<option name="mesa_glthread_app_profile" value="1"/>
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<application name="Talos Principle (Unrestricted)" executable="Talos_Unrestricted">
<option name="mesa_glthread_app_profile" value="1"/>
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<!-- roughly 30% increase in fps -->