Skip to content

Commit

Permalink
remove cvk_command_combine in favor of cvk_event_combine
Browse files Browse the repository at this point in the history
cvk_command_combine prevents optimization where commands could be
batch.
It is needed to have a single event representing the execution of the
group of commands. This PR creates a new event (cvk_event_combine)
which allows to have a single event grouping several events, thus
keeping the single event for the group of commands.

It also allows to make do_action a private function, thus having it
called only in one place. This is very convenient to implement future
optimization (using VkSemaphore).
  • Loading branch information
rjodinchr committed Jul 17, 2023
1 parent 06942d5 commit 3cfd81b
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 401 deletions.
Loading

0 comments on commit 3cfd81b

Please sign in to comment.