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 Jun 2, 2023
1 parent 6e56af5 commit e3605c0
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 398 deletions.
Loading

0 comments on commit e3605c0

Please sign in to comment.