Fix VkDescriptorPoolCreateInfo.poolSizeCount
This caused a read past the array end on anv.
This commit is contained in:
parent
b6f5471b62
commit
a4f3a19480
1 changed files with 1 additions and 1 deletions
|
@ -990,7 +990,7 @@ retry:
|
|||
.pNext = nullptr,
|
||||
.flags = 0,
|
||||
.maxSets = k_nMaxSets,
|
||||
.poolSizeCount = 4,
|
||||
.poolSizeCount = sizeof(descriptorPoolSize) / sizeof(descriptorPoolSize[0]),
|
||||
.pPoolSizes = descriptorPoolSize
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue