Fixed Vulkan deprecation warning
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
83210c577f
commit
9a791b161d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue