Add thirdparty library VulkanMemoryAllocator 3.2.1

This commit is contained in:
Eidolon 2025-03-11 15:47:09 -05:00
parent fc736434a1
commit 501f9b6aed
5 changed files with 19127 additions and 0 deletions

View file

@ -1644,6 +1644,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

@ -16,3 +16,4 @@ add_subdirectory(libwebm)
add_subdirectory(fmt)
add_subdirectory(volk)
add_subdirectory(vma)

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

@ -0,0 +1,9 @@
# 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_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>