mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-23 07:14:34 +00:00
370ab184f8
That's because vkCreateBuffer returns VK_SUCCESS for buffer with size = 0, so VMA then proceeded to allocation of size 0, which is a critical error, checked by an assert, but apparently some users don't enable asserts in VMA. Added tests: function TestInvalidAllocations. |
||
---|---|---|
.. | ||
Shaders | ||
VmaReplay | ||
Common.cpp | ||
Common.h | ||
Doxyfile | ||
Tests.cpp | ||
Tests.h | ||
vk_mem_alloc.h | ||
vk_mem_alloc.natvis | ||
VmaUsage.cpp | ||
VmaUsage.h | ||
VulkanSample.cpp |