Working descriptorset creation cycle
This commit is contained in:
parent
9d97ca07a7
commit
03688bc5b2
2 changed files with 9 additions and 5 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue