VulkanMemoryAllocator
VulkanMemoryAllocator copied to clipboard
Easy to integrate Vulkan memory allocation library
So our users have Nvidia 2070, 3060, 4090 gpu with low coherent memory (210 mb) failing to allocate a single 4mb uniform buffer pool. This isn't on all gpu/driver combos....
When I vmaDestroyBuffer(), at object destruction, it doesn't destroy VkDeviceMemory hMemory, resulting in error: > Validation Error: [ VUID-vkDestroyDevice-device-05137 ] Object 0: handle = 0x2e2941000000001f, type = VK_OBJECT_TYPE_DEVICE_MEMORY; | MessageID...
3.0.1 doesn't build on armeabi-v7a, although judging by the error output I can't see how would build on any 32bit system: ``` FAILED: CMakeFiles/demos.dir/vk/vk_test.cpp.o /tools/android-sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=armv7-none-linux-androideabi23 --sysroot=/tools/android-sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_SHADERC=1 -DVK_USE_PLATFORM_ANDROID_KHR=1 -Ddemos_EXPORTS...
This uses the Catapult flame chart json format for timings. This can then be imported into Perfetto. Allocations are displayed in tracks just like in the png, but with names,...
Dedicated blocks get thrown into the blockCount, but I'm trying to see that increase/decrease and want that to correspond with the 64MB allocations that represent heap growth. Would be good...
When running this, the code failed to execute textsize on my Windows Python 3.11 install. I installed Pillow. The following script change fixes it. Traceback (most recent call last): File...
For example: ``` VkImageCreateInfo imageCreateInfo = {}; imageCreateInfo.sType = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO; imageCreateInfo.imageType = VK_IMAGE_TYPE_2D; imageCreateInfo.format = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM; imageCreateInfo.flags = VK_IMAGE_CREATE_DISJOINT_BIT; ``` If calling `vmaCreateImage()` with this image create info, the validate...
When attempting to create an image with ``VkImageUsageFlagBits::VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT`` provided by the recently released [VK_EXT_host_image_copy](https://www.khronos.org/blog/copying-images-on-the-host-in-vulkan), VMA returns a ``VK_ERROR_FEATURE_NOT_PRESENT`` error. Inspecting further into what is happening under the hood, it looks...
Hello, I was using the `v3.0.1` version of the library and was getting some Vulkan validation errors. I tracked the errors back to an issue that was fixed in 1022be64...
When running the tests on my AMD 7950X, I first get the validation error I mentioned in #338 and then the application crashes here:  Running the tests with my...