Fixed integration tests fails due to pipeline not freed
This commit is contained in:
parent
9d206c304d
commit
198fb46eb6
2 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue