From 9a791b161dd58ca927fe090f65fa2b0e5e85e7ca Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Mon, 2 May 2022 13:42:25 +0200 Subject: [PATCH] Fixed Vulkan deprecation warning Signed-off-by: Fabian Sauter --- src/Algorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Algorithm.cpp b/src/Algorithm.cpp index d5ed0d768..a3ecee004 100644 --- a/src/Algorithm.cpp +++ b/src/Algorithm.cpp @@ -305,7 +305,7 @@ Algorithm::createPipeline() this->mFreePipeline = true; #else vk::Pipeline pipeline = - this->mDevice->createComputePipeline(*this->mPipelineCache, pipelineInfo); + this->mDevice->createComputePipeline(*this->mPipelineCache, pipelineInfo).value; this->mPipeline = std::make_shared(pipeline); this->mFreePipeline = true; #endif