Skip to content

Commit

Permalink
adjust for auto_vk changes to semaphore_signal_info creation
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzRoth committed Jul 5, 2023
1 parent b9a9473 commit fe3a09c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auto_vk
2 changes: 1 addition & 1 deletion auto_vk_toolkit/src/context_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ namespace avk

avk::semaphore context_vulkan::record_and_submit_with_timeline_semaphore(std::vector<avk::recorded_commands_t> aRecordedCommandsAndSyncInstructions, const avk::queue& aQueue, avk::stage::pipeline_stage_flags aSrcSignalStage, uint64_t aSignalValue, uint64_t aInitialValue, vk::CommandBufferUsageFlags aUsageFlags) {
auto sem = create_timeline_semaphore(aInitialValue);
record_and_submit_with_timeline_semaphore(aRecordedCommandsAndSyncInstructions, aQueue, aSrcSignalStage >> sem | aSignalValue, aUsageFlags);
record_and_submit_with_timeline_semaphore(aRecordedCommandsAndSyncInstructions, aQueue, (aSrcSignalStage >> sem).to_value(aSignalValue) , aUsageFlags);
return sem;
}

Expand Down

0 comments on commit fe3a09c

Please sign in to comment.