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 Mar 11, 2024
1 parent 0c6a3e3 commit f7a7040
Show file tree
Hide file tree
Showing 5 changed files with 455 additions and 399 deletions.
Loading

0 comments on commit f7a7040

Please sign in to comment.