wsi/common: Allow KHR_present_wait on WL.
The fallback in place ensures a good enough solution. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no> Reviewed-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27275>
This commit is contained in:
committed by
Marge Bot
parent
0d51cd4808
commit
2f4d6df372
@@ -1550,9 +1550,8 @@ wsi_common_vk_instance_supports_present_wait(const struct vk_instance *instance)
|
||||
{
|
||||
/* We can only expose KHR_present_wait and KHR_present_id
|
||||
* if we are guaranteed support on all potential VkSurfaceKHR objects. */
|
||||
if (instance->enabled_extensions.KHR_wayland_surface ||
|
||||
instance->enabled_extensions.KHR_win32_surface ||
|
||||
instance->enabled_extensions.KHR_android_surface) {
|
||||
if (instance->enabled_extensions.KHR_win32_surface ||
|
||||
instance->enabled_extensions.KHR_android_surface) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user