]> git.tdb.fi Git - libs/gl.git/commit
Avoid allocating buffers and images too close together
authorMikko Rasa <tdb@tdb.fi>
Tue, 8 Mar 2022 14:00:22 +0000 (16:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 8 Mar 2022 14:00:22 +0000 (16:00 +0200)
commitef891fe4bf86704c37b4269d1aca190405455c12
tree7cc6b05aae95d20aa49348a3795b3c746bea8733
parent4795cdfc7936ac89da46f4d6f9de33fd481933a4
Avoid allocating buffers and images too close together

Vulkan requires that both types of resources do not reside on the same
"page" in memory.
source/backends/vulkan/memoryallocator.cpp
source/backends/vulkan/memoryallocator.h