Add thirdparty library VulkanMemoryAllocator 3.2.1

This commit is contained in:
Eidolon 2025-03-11 15:47:09 -05:00
parent 72e8f9e3f4
commit 12d83a26cd
5 changed files with 19128 additions and 0 deletions

View file

@ -1647,6 +1647,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- volk
Copyright (c) 2018-2025 Arseny Kapoulkine
https://github.com/zeux/volk
- VulkanMemoryAllocator
Copyright (c) 2017-2025 Advanced Micro Devices, Inc.
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
--------------------------------------------------------------------------------
Permission is hereby granted, free of charge, to any person obtaining a copy

View file

@ -18,3 +18,4 @@ add_subdirectory(fmt)
add_subdirectory(vulkan-headers)
add_subdirectory(volk)
add_subdirectory(vma)

10
thirdparty/vma/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,10 @@
# Update from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
# VulkanMemoryAllocator version 3.2.1
# License: MIT
add_library(VulkanMemoryAllocator STATIC src/vk_mem_alloc.cpp)
target_link_libraries(VulkanMemoryAllocator PUBLIC VulkanHeaders)
target_include_directories(VulkanMemoryAllocator PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_compile_features(VulkanMemoryAllocator PUBLIC cxx_std_17)
set_target_properties(VulkanMemoryAllocator PROPERTIES CXX_STANDARD 17)
add_library(GPUOpen::VulkanMemoryAllocator ALIAS VulkanMemoryAllocator)

19111
thirdparty/vma/include/vk_mem_alloc.h vendored Normal file

File diff suppressed because it is too large Load diff

2
thirdparty/vma/src/vk_mem_alloc.cpp vendored Normal file
View file

@ -0,0 +1,2 @@
#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.h>