Working descriptorset creation cycle

This commit is contained in:
Alejandro Saucedo
2020-08-22 11:21:34 +01:00
parent 9d97ca07a7
commit 03688bc5b2
2 changed files with 9 additions and 5 deletions

View File

@@ -90,9 +90,6 @@ void Algorithm::createParameters(std::vector<std::shared_ptr<Tensor>>& tensorPar
this->mDescriptorSetLayout.get());
SPDLOG_DEBUG("Kompute Algorithm allocating descriptor sets");
std::vector<vk::DescriptorSet> descriptorSets =
this->mDevice->allocateDescriptorSets(descriptorSetAllocateInfo);
this->mDescriptorSet = std::make_shared<vk::DescriptorSet>();
this->mDevice->allocateDescriptorSets(&descriptorSetAllocateInfo, this->mDescriptorSet.get());