diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-04 17:32:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-11 19:18:04 +0000 |
commit | f4f3c15c1e801760876da1fe292f24bd9f47b8ad (patch) | |
tree | 4edca21751780903471e77a9a85458edb1e8c99f /include/render | |
parent | 7fdcb45e6609be4786bcb79e61d7e935b7b7fa77 (diff) |
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.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |