VulkanMemoryAllocator/src
Adam Sawicki 370ab184f8 Changed functions to validate and return VK_ERROR_VALIDATION_FAILED_EXT when trying to allocate memory of size 0, create buffer with size 0, or image with one of the dimensions 0.
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.
2018-11-08 16:31:00 +01:00
..
Shaders First commit 2017-06-16 17:21:31 +02:00
VmaReplay Added internal function VmaIsPow2 and asserts checking if various alignment parameters are power of 2. 2018-09-07 14:12:37 +02:00
Common.cpp Publishing testing environment. Tests are available under [T] key. 2018-03-13 16:15:53 +01:00
Common.h Replaced assert() with new macro TEST() in all tests, to check conditions also in Release configuration. 2018-10-03 17:41:20 +02:00
Doxyfile Generated Doxygen documentation into docs/ directory. 2017-06-20 11:17:23 +02:00
Tests.cpp Changed functions to validate and return VK_ERROR_VALIDATION_FAILED_EXT when trying to allocate memory of size 0, create buffer with size 0, or image with one of the dimensions 0. 2018-11-08 16:31:00 +01:00
Tests.h Publishing testing environment. Tests are available under [T] key. 2018-03-13 16:15:53 +01:00
vk_mem_alloc.h Changed functions to validate and return VK_ERROR_VALIDATION_FAILED_EXT when trying to allocate memory of size 0, create buffer with size 0, or image with one of the dimensions 0. 2018-11-08 16:31:00 +01:00
vk_mem_alloc.natvis Created vk_mem_alloc.natvis file. VmaVectorRemoveSorted: Fixed compilation error when STL is used. 2017-09-20 13:27:21 +02:00
VmaUsage.cpp Added source files to project: Common.*, Tests.*, VmaUsage.*. 2018-03-13 15:42:22 +01:00
VmaUsage.h Buddy allocation algorithm finished and documented! 2018-09-21 16:44:16 +02:00
VulkanSample.cpp Replaced assert() with new macro TEST() in all tests, to check conditions also in Release configuration. 2018-10-03 17:41:20 +02:00