Vulkan: Enable VMA asserts

These asserts where disabled to work around the issue that resources
could be created when Blender is being exited. This isn't the case
anymore so it should be safe to enable asserts in VMA.

Pull Request: https://projects.blender.org/blender/blender/pulls/151830
This commit is contained in:
Jeroen Bakker
2025-12-18 14:04:42 +01:00
parent fa07036ae7
commit 4bcb6e15b0

View File

@ -8,13 +8,4 @@
#define VMA_IMPLEMENTATION
/*
* Disabling internal asserts of VMA.
*
* Blender can destroy logical device before all the resources are freed. This is because static
* resources are freed as a last step during quiting. As long as Vulkan isn't feature complete
* we don't want to change this behavior. So for now we just disable the asserts.
*/
#define VMA_ASSERT(test)
#include "vk_mem_alloc.h"