Closed per-mathisen-arm closed 1 year ago
The VMA in the project was fairly old - it predated the release of Vulkan 1.3, which might explain why there are problems with it. I updated it to 3.0.1 now, which should fix the problem. I cannot test it myself, unfortunately, since I don't have neither Mac nor Linux anymore - sorry I can't be of more help!
Built on Ubuntu Linux 20.04 with NVIDIA GeForce RTX 2060 in debug mode. Driver has Vulkan 1.3. Runs into this issue:
Backtrace:
Looks like VMA doesn't like Vulkan 1.3, but instead of actually choosing Vulkan 1.2, the vkQuake2 code appears to select the lower of the instance Vulkan version and the device Vulkan version... which doesn't really make much sense? I can get around this issue by commenting out the line in vk_common.c where vkEnumerateInstanceVersion() is called. Now Vulkan 1.0 is enforced, which makes VMA happy.