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 May 25, 2023
1 parent 1d9db53 commit 076caaf
Show file tree
Hide file tree
Showing 6 changed files with 453 additions and 398 deletions.
Loading

0 comments on commit 076caaf

Please sign in to comment.