mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
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:
parent
7fdcb45e66
commit
f4f3c15c1e
2 changed files with 15 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue