From f4f3c15c1e801760876da1fe292f24bd9f47b8ad Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 4 Nov 2022 17:32:06 +0100 Subject: render/vulkan: always wait for last stage to complete before rendering When we have multiple command buffers in flight, we need to make sure we don't start rendering before the previous texture uploads are complete. --- include/render/vulkan.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 517dc451..716c5ace 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -195,6 +195,7 @@ struct wlr_vk_renderer { struct { struct wlr_vk_command_buffer *cb; + uint64_t last_timeline_point; struct wl_list buffers; // wlr_vk_shared_buffer.link } stage; -- cgit v1.2.3