Skip to content

Commit fe3a09c

Browse files
committed
adjust for auto_vk changes to semaphore_signal_info creation
1 parent b9a9473 commit fe3a09c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auto_vk

auto_vk_toolkit/src/context_vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ namespace avk
465465

466466
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) {
467467
auto sem = create_timeline_semaphore(aInitialValue);
468-
record_and_submit_with_timeline_semaphore(aRecordedCommandsAndSyncInstructions, aQueue, aSrcSignalStage >> sem | aSignalValue, aUsageFlags);
468+
record_and_submit_with_timeline_semaphore(aRecordedCommandsAndSyncInstructions, aQueue, (aSrcSignalStage >> sem).to_value(aSignalValue) , aUsageFlags);
469469
return sem;
470470
}
471471

0 commit comments

Comments
 (0)