drirc: enable vk_wsi_force_swapchain_to_current_extent for "Serious Sam Fusion"

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>
(cherry picked from commit 1456cb9c0b)
This commit is contained in:
antonino 2023-08-21 23:34:12 +02:00 committed by Eric Engestrom
parent f9dcca0525
commit 4c71800efb
2 changed files with 8 additions and 1 deletions

View file

@ -310,7 +310,7 @@
"description": "drirc: enable `vk_wsi_force_swapchain_to_current_extent` for \"Serious Sam Fusion\"",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6139493ae384cfdc8452fabd41287ebd1d539f4c"
},

View file

@ -592,6 +592,13 @@ TODO: document the other workarounds.
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<application name="Serious Sam Fusion" executable="Sam2017">
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<application name="Serious Sam Fusion (Unrestricted)" executable="Sam2017_Unrestricted">
<option name="vk_wsi_force_swapchain_to_current_extent" 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"/>