Add VulkanMemoryAllocator 3.0.1
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#define VMA_IMPLEMENTATION
|
||||
|
||||
#include "vk_mem_alloc.h"
|
||||
Vendored
+19558
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user