wsi/x11: Create a present queue for VK_PRESENT_MODE_FIFO_RELAXED_KHR
authorAdam Jackson <ajax@redhat.com>
Mon, 21 Sep 2020 19:48:22 +0000 (15:48 -0400)
committerAdam Jackson <ajax@redhat.com>
Mon, 21 Sep 2020 19:48:22 +0000 (15:48 -0400)
commit54b9013e4c83a74b2806195bc41d774ca060112b
tree7762cb36a962976c7e8c1752c79d16e298463056
parent26a83bef7b98899913b19ddb7efadaa1f435b25f
wsi/x11: Create a present queue for VK_PRESENT_MODE_FIFO_RELAXED_KHR

This activates the target_msc computation that we'd otherwise be using
if we were just FIFO; otherwise we'd always set target_msc = 0 and it'd
act like IMMEDIATE.

Fixes: 77d25627933 "wsi/x11: Hook up VK_PRESENT_MODE_FIFO_RELAXED_KHR"
Fixes: mesa/mesa#3512
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6804>
src/vulkan/wsi/wsi_common_x11.c