Commit d8be2e48 authored by Dave Airlie's avatar Dave Airlie
Browse files

nvk/descriptor_set: fix bo_size

This might not be correct, but it fixes
parent c02d5bc8
Pipeline #725775 waiting for manual action with stages
......@@ -381,7 +381,7 @@ nvk_CreateDescriptorPool(VkDevice _device,
* conservative here.) Allocate enough extra space that we can chop it
* into maxSets pieces and align each one of them to 32B.
bo_size += NVK_MIN_UBO_ALIGNMENT * pCreateInfo->maxSets;
bo_size *= NVK_MIN_UBO_ALIGNMENT * pCreateInfo->maxSets;
uint64_t entries_size = sizeof(struct nvk_descriptor_pool_entry) *
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment