Fixed integration tests fails due to pipeline not freed

This commit is contained in:
Alejandro Saucedo 2021-02-27 15:28:24 +00:00
parent 9d206c304d
commit 198fb46eb6
2 changed files with 1 additions and 1 deletions

View file

@ -332,6 +332,7 @@ Algorithm::createPipeline()
vk::Pipeline pipeline = vk::Pipeline pipeline =
this->mDevice->createComputePipeline(*this->mPipelineCache, pipelineInfo); this->mDevice->createComputePipeline(*this->mPipelineCache, pipelineInfo);
this->mPipeline = std::make_shared<vk::Pipeline>(pipeline); this->mPipeline = std::make_shared<vk::Pipeline>(pipeline);
this->mFreePipeline = true;
#endif #endif
// TODO: Update to consistent // TODO: Update to consistent

View file

@ -117,7 +117,6 @@ Manager::destroy() {
if (this->mDebugReportCallback) { if (this->mDebugReportCallback) {
this->mInstance->destroyDebugReportCallbackEXT( this->mInstance->destroyDebugReportCallbackEXT(
this->mDebugReportCallback, nullptr, this->mDebugDispatcher); this->mDebugReportCallback, nullptr, this->mDebugDispatcher);
this->mInstance = nullptr;
KP_LOG_DEBUG("Kompute Manager Destroyed Debug Report Callback"); KP_LOG_DEBUG("Kompute Manager Destroyed Debug Report Callback");
} }
#endif #endif