Reformatted

This commit is contained in:
Alejandro Saucedo 2020-10-17 11:19:25 +01:00
parent 872a0bc717
commit 9a64339e95
8 changed files with 95 additions and 72 deletions

View file

@ -141,7 +141,8 @@ Sequence::evalAsync()
return false;
}
if (this->mIsRunning) {
SPDLOG_WARN("Kompute Sequence evalAsync called when an eval async was called without successful wait");
SPDLOG_WARN("Kompute Sequence evalAsync called when an eval async was "
"called without successful wait");
return false;
}
@ -172,7 +173,8 @@ Sequence::evalAwait(uint64_t waitFor)
return false;
}
vk::Result result = this->mDevice->waitForFences(1, &this->mFence, VK_TRUE, waitFor);
vk::Result result =
this->mDevice->waitForFences(1, &this->mFence, VK_TRUE, waitFor);
this->mDevice->destroy(this->mFence);
if (result == vk::Result::eTimeout) {
@ -191,7 +193,8 @@ Sequence::evalAwait(uint64_t waitFor)
}
bool
Sequence::isRunning() {
Sequence::isRunning()
{
return this->mIsRunning;
}