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.
This commit is contained in:
Simon Ser 2022-11-04 17:32:06 +01:00
parent 7fdcb45e66
commit f4f3c15c1e
2 changed files with 15 additions and 0 deletions

View file

@ -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;