Added fix to work for versions 1.2.55+ of vulkan headers

This commit is contained in:
Alejandro Saucedo 2020-11-01 10:46:16 +00:00
parent 482aa29426
commit 8abac9fb58
6 changed files with 16 additions and 17 deletions

View file

@ -52,7 +52,7 @@ Sequence::~Sequence()
"CommandPool pointer");
return;
}
this->mDevice->destroy(*this->mCommandPool);
this->mDevice->destroy(*this->mCommandPool, (vk::Optional<const vk::AllocationCallbacks>)nullptr);
SPDLOG_DEBUG("Kompute Sequence Destroyed CommandPool");
}
}
@ -186,7 +186,7 @@ Sequence::evalAwait(uint64_t waitFor)
vk::Result result =
this->mDevice->waitForFences(1, &this->mFence, VK_TRUE, waitFor);
this->mDevice->destroy(this->mFence);
this->mDevice->destroy(this->mFence, (vk::Optional<const vk::AllocationCallbacks>)nullptr);
this->mIsRunning = false;