util/driconf: pin minImageCount to three for "Path of Exile"

"Path of Exile" will fail with an error "unsupported backbuffer image count"
when vkGetPhysicalDeviceSurfaceCapabilitiesKHR reports more than 3 as
minImageCount.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21547>
This commit is contained in:
Gert Wollny 2023-02-27 09:56:41 +01:00 committed by Marge Bot
parent 75b63a5d3e
commit cb41ef0d3f

View file

@ -891,6 +891,16 @@ TODO: document the other workarounds.
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/5437 -->
<option name="vk_dont_care_as_load" value="true" />
</application>
<!-- Path of Exile stops with "unsupported backbuffer count" when more than
3 swapchain image are reported. -->
<application name="Path of Exile" executable="PathOfExile_x64Steam.exe">
<option name="vk_x11_override_min_image_count" value="3" />
</application>
<application name="Path of Exile" executable="PathOfExileSteam.exe">
<option name="vk_x11_override_min_image_count" value="3" />
</application>
</device>
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
<device driver="vmwgfx">