Updated sequence and sequence tests

This commit is contained in:
Alejandro Saucedo 2021-02-27 14:15:07 +00:00
parent f206c62537
commit 9788c796a8
2 changed files with 17 additions and 39 deletions

View file

@ -174,7 +174,7 @@ Sequence::destroy()
KP_LOG_DEBUG("Kompute Sequence destroy called");
if (!this->mDevice) {
KP_LOG_ERROR("Kompute Sequence destroy called "
KP_LOG_WARN("Kompute Sequence destroy called "
"with null Device pointer");
return;
}
@ -182,7 +182,7 @@ Sequence::destroy()
if (this->mFreeCommandBuffer) {
KP_LOG_INFO("Freeing CommandBuffer");
if (!this->mCommandBuffer) {
KP_LOG_ERROR(
KP_LOG_WARN(
"Kompute Sequence destroy called with null "
"CommandPool pointer");
return;
@ -199,7 +199,7 @@ Sequence::destroy()
if (this->mFreeCommandPool) {
KP_LOG_INFO("Destroying CommandPool");
if (this->mCommandPool == nullptr) {
KP_LOG_ERROR(
KP_LOG_WARN(
"Kompute Sequence destroy called with null "
"CommandPool pointer");
return;