update
This commit is contained in:
parent
15f1f77344
commit
75c9ae5087
5 changed files with 28 additions and 24 deletions
|
|
@ -78,7 +78,7 @@ export namespace Crafter {
|
|||
bool found = false;
|
||||
for(VkDescriptorPoolSize& type : types) {
|
||||
if(type.type == binding.descriptorType && type.descriptorCount != 12345) {
|
||||
type.descriptorCount += 1;
|
||||
type.descriptorCount += binding.descriptorCount;
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -86,7 +86,7 @@ export namespace Crafter {
|
|||
for(std::uint32_t i = 0; i < GetUniqueDiscriptorCount<Shaders...>(); i++){
|
||||
if(types[i].descriptorCount == 12345) {
|
||||
types[i].type = binding.descriptorType;
|
||||
types[i].descriptorCount = 1;
|
||||
types[i].descriptorCount = binding.descriptorCount;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue