mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Reserve more space for descriptor set initial contents
* We need enough room for chunk overhead (e.g. array size space as well as array, etc).
This commit is contained in:
@@ -521,7 +521,7 @@ uint64_t WrappedVulkan::GetSize_InitialState(ResourceId id, const VkInitialConte
|
||||
{
|
||||
if(initial.type == eResDescriptorSet)
|
||||
{
|
||||
return 32 + initial.numDescriptors * sizeof(DescriptorSetSlot) + initial.inlineByteSize;
|
||||
return 128 + initial.numDescriptors * sizeof(DescriptorSetSlot) + initial.inlineByteSize;
|
||||
}
|
||||
else if(initial.type == eResBuffer)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user