| commit | aa657247ce8e4da53503c584a7a869a87b45f9fb | [log] [tgz] |
|---|---|---|
| author | antonino <antonino.maniscalco@collabora.com> | Mon Aug 21 22:50:34 2023 +0200 |
| committer | Marge Bot <emma+marge@anholt.net> | Wed Sep 06 00:10:41 2023 +0000 |
| tree | f5ec15e91b693e7470db07c749e3ecc29b814e8c | |
| parent | d45f598ece6bde60959ff2631ebc747b57197677 [diff] |
vulkan/wsi: add `vk_wsi_force_swapchain_to_current_extent` driconf
Add a driconf to force the swapchain size to match
`VkSurfaceCapabilities2KHR::currentExtent` as a workaround for
misbehaved games
Fixes: 6139493ae38 ("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>