wlroots/render/vulkan
Simon Ser f7e7d8f183 render/vulkan: fix missing DMA-BUF implicit read fence for textures
When we're reading from a DMA-BUF texture using implicit sync, we
need to (1) wait for any writer to be done and (2) prevent any
writers from mutating the texture while we're still reading. We
were doing (1) but not (2).

Fix this by calling dmabuf_import_sync_file() with DMA_BUF_SYNC_READ
for all DMA-BUF textures we've used in the render pass.

(cherry picked from commit 43b37e34d6)
2026-03-06 09:49:12 -05:00
..
shaders render/vulkan: unify alpha pre-multiplication in output shader 2025-02-23 15:41:23 +01:00
meson.build render/vulkan: use renamed glslang binary by default 2023-07-27 16:06:49 +08:00
pass.c render/vulkan: take render pass in vulkan_sync_render_buffer() 2026-03-06 09:49:03 -05:00
pixel_format.c render: unify getter for texture formats 2024-04-21 11:27:29 +00:00
renderer.c render/vulkan: fix missing DMA-BUF implicit read fence for textures 2026-03-06 09:49:12 -05:00
texture.c render/vulkan: add support for explicit sync 2024-10-28 17:51:21 +00:00
util.c render/vulkan: drop unused vulkan_has_extension() 2023-05-26 12:25:53 +00:00
vulkan.c xwayland,render/vulkan: fix some size assertions 2024-12-30 12:47:54 +03:00