]> git.tdb.fi Git - libs/gl.git/commit
Refactor Vulkan memory mapping functions
authorMikko Rasa <tdb@tdb.fi>
Tue, 25 Jan 2022 17:16:57 +0000 (19:16 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 25 Jan 2022 17:36:31 +0000 (19:36 +0200)
commitbec8444ce5f844d156f5aac90ce9f0a92750cf62
treead28123e036ac271f6ff65d244d299bb890835d5
parent7e48ef177b668f2ed4c0346fa268e3dbfbb63203
Refactor Vulkan memory mapping functions

An allocation is now always mapped in its entirety.  Unmapping is done
by ID instead of mapped address.
source/backends/vulkan/buffer_backend.cpp
source/backends/vulkan/memoryallocator.cpp
source/backends/vulkan/memoryallocator.h
source/backends/vulkan/transferqueue.cpp