wlroots-hyprland/render/vulkan
Simon Ser a8a194d695 render/vulkan: switch to timeline semaphores
Up until now we were using a VkFence for GPU-to-CPU
synchronization. This has some limitations that become a blocker
when trying to have multiple command buffers in flight at once
(e.g. for multi-output). It's desirable to implement a command
buffer pool [1], but VkFence cannot be used to track command buffer
completion for individual subpasses.

Let's just switch to timeline semaphores [2], which fix this issue,
make synchronization a lot more ergonomic and are a core Vulkan 1.2
feature.

[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3802
[2]: https://www.khronos.org/blog/vulkan-timeline-semaphores
2022-11-11 19:18:04 +00:00
..
shaders render/vulkan: Optimize vertex shader 2021-11-23 15:46:24 +00:00
meson.build render/vulkan: quiet glslangValidator 2021-11-23 15:38:56 +00:00
pixel_format.c render/vulkan: Implement vulkan_read_pixels 2022-10-07 15:59:39 +00:00
renderer.c render/vulkan: switch to timeline semaphores 2022-11-11 19:18:04 +00:00
texture.c render/vulkan: add some interfaces to allow compositors to integrate 2022-11-08 12:56:38 +01:00
util.c render/vulkan: add missing entries in vulkan_strerror() 2022-10-18 16:57:00 +02:00
vulkan.c render/vulkan: switch to timeline semaphores 2022-11-11 19:18:04 +00:00