Reformatted
This commit is contained in:
parent
872a0bc717
commit
9a64339e95
8 changed files with 95 additions and 72 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue