Skip to content

Commit

Permalink
vulkan: fix descriptor pool sizes with arrays of samplers.
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Aug 4, 2024
1 parent 15dfc8d commit ee91a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/graphics/vulkan/Shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void Shader::createDescriptorPoolSizes()
continue;

size.type = type;
size.descriptorCount = 1;
size.descriptorCount = entry.second->count;
descriptorPoolSizes.push_back(size);
}
}
Expand Down

0 comments on commit ee91a87

Please sign in to comment.