Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Allocation Errors using TpvVulkanAllocationManager #28

Open
johnhutch111 opened this issue Nov 8, 2022 · 0 comments
Open

Memory Allocation Errors using TpvVulkanAllocationManager #28

johnhutch111 opened this issue Nov 8, 2022 · 0 comments

Comments

@johnhutch111
Copy link

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??

BeRo1985 added a commit that referenced this issue Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant