Skip to content

Commit db06a39

Browse files
committed
adapt to operator changes for timeline semaphores in auto_vk
1 parent 5a5441f commit db06a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto_vk_toolkit/src/context_vulkan.cpp

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

477477
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) {
478478
auto sem = create_timeline_semaphore(aInitialValue);
479-
record_and_submit_with_timeline_semaphore(std::move(aRecordedCommandsAndSyncInstructions), aQueue, aSrcSignalStage >> sem >> aSignalValue, aUsageFlags);
479+
record_and_submit_with_timeline_semaphore(std::move(aRecordedCommandsAndSyncInstructions), aQueue, aSrcSignalStage >> (sem = aSignalValue), aUsageFlags);
480480
return sem;
481481
}
482482

0 commit comments

Comments
 (0)