Skip to content

Conversation

@hrydgard
Copy link
Owner

@hrydgard hrydgard commented Nov 22, 2021

VMA is an open source project by AMD, which simplifies memory allocations in Vulkan and follows best practices, and is also very battle-tested - it's used by a number of commercial games and engines.

This replaces our own allocators with it. I don't see any regressions with regards to memory usage, and some stalls are gone (where we were allocating and freeing too many small-ish memory blocks for our push buffers).

Needs a bit more testing including Android, but after that I think this is probably the way to go.

(Now confirmed working on Android).

License of VMA is MIT, which should be fine.

@hrydgard hrydgard added this to the v1.13.0 milestone Nov 22, 2021
@hrydgard hrydgard enabled auto-merge November 23, 2021 07:55
@hrydgard hrydgard merged commit c7bba9b into master Nov 23, 2021
@hrydgard hrydgard deleted the integrate-vma branch November 23, 2021 08:19
@ghost
Copy link

ghost commented Nov 23, 2021

Why there's still no android build on automated buildbot?

@unknownbrackets
Copy link
Collaborator

Should be there now.

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants