Add VulkanMemoryAllocator 3.0.1

This commit is contained in:
Guillaume Meunier
2024-01-07 11:45:07 +01:00
parent f035ca6c6d
commit 54fe51b21f
4 changed files with 19563 additions and 0 deletions
+1
View File
@@ -243,4 +243,5 @@ WiVRn uses the following software:
- [nvenc](https://developer.nvidia.com/nvidia-video-codec-sdk) optional, for hardware encoding on Nvidia
- [sd-bus](https://www.freedesktop.org/software/systemd/man/sd-bus.html)
- [spdlog](https://github.com/gabime/spdlog)
- [VulkanMemoryAllocator](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator)
- [x264](https://www.videolan.org/developers/x264.html) optional, for software encoding
+1
View File
@@ -107,6 +107,7 @@ wivrn_compile_glsl(wivrn ${VULKAN_SHADERS})
target_link_libraries(wivrn Vulkan::Vulkan spdlog::spdlog glm::glm tinygltf FreetypeHarfbuzz)
target_compile_definitions(wivrn PRIVATE -DXR_USE_GRAPHICS_API_VULKAN)
target_compile_definitions(wivrn PRIVATE -DVMA_STATS_STRING_ENABLED=0)
target_compile_options(wivrn PRIVATE -fdiagnostics-color -Wall -Wextra -pedantic) # -Werror
target_compile_options(wivrn PRIVATE -Wno-missing-field-initializers -Wno-unused-parameter
+3
View File
@@ -0,0 +1,3 @@
#define VMA_IMPLEMENTATION
#include "vk_mem_alloc.h"
+19558
View File
File diff suppressed because it is too large Load Diff