Fixed Vulkan deprecation warning

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
Fabian Sauter 2022-05-02 13:42:25 +02:00
parent 83210c577f
commit 9a791b161d

View file

@ -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<vk::Pipeline>(pipeline);
this->mFreePipeline = true;
#endif