Memory Allocation Errors using TpvVulkanAllocationManager #28
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/pasvulkan#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a number of tests including a build of render framework, render, free Render frame work then rebuild the framework. The second build raises exceptions via an invalid FreeMem in the TpvVulkanAllocationManager. The errors do not occur when using the Vulkan internal memory allocation.
I notice you assume the Delphi default 8 byte alignment in the allocation. I see Vulkan requests alignment on 4 bytes and 8 bytes. Given 8 bytes aligned is also 4 and 2 bytes aligned, this should be OK. I have not seen a 16 byte alignment request.
Maybe the alignment should be set to default 16 bytes? Will this change in 64bit?
Is it possible that this is causing the error cases??