gpu-allocator
gpu-allocator copied to clipboard
Vulkan allocator should respect the `maxMemoryAllocationCount` limit
The specification states the following inside the documentation of vkAllocateMemory:
For historical reasons, if maxMemoryAllocationCount is exceeded, some implementations may return VK_ERROR_TOO_MANY_OBJECTS. Exceeding this limit will result in undefined behavior, and an application should not rely on the use of the returned error code in order to identify when the limit is reached.