diff --git a/include/avk/commands.hpp b/include/avk/commands.hpp index 1aca670..e1837aa 100644 --- a/include/avk/commands.hpp +++ b/include/avk/commands.hpp @@ -1142,7 +1142,7 @@ namespace avk return semaphore_value_info{std::move(aSemaphore), aValue}; } - struct semaphore_wait_info + struct semaphore_wait_info { avk::resource_argument mWaitSemaphore; avk::stage::pipeline_stage_flags mDstStage; diff --git a/src/avk.cpp b/src/avk.cpp index 5358931..5f994da 100644 --- a/src/avk.cpp +++ b/src/avk.cpp @@ -7181,17 +7181,17 @@ namespace avk void semaphore_t::signal(uint64_t aNewValue) const { auto info = vk::SemaphoreSignalInfo{} - .setSemaphore(mSemaphore.get()) - .setValue(aNewValue); + .setSemaphore(mSemaphore.get()) + .setValue(aNewValue); mSemaphore.getOwner().signalSemaphore(info); } void semaphore_t::wait_until_signaled(uint64_t aSignalValue, std::optional aTimeout) const { vk::SemaphoreWaitInfo info{ - vk::SemaphoreWaitFlags{}, - 1u, - handle_addr(), - &aSignalValue + vk::SemaphoreWaitFlags{}, + 1u, + handle_addr(), + &aSignalValue }; mSemaphore.getOwner().waitSemaphores(info, aTimeout.value_or(UINT64_MAX)); }