summaryrefslogtreecommitdiffstats
path: root/externals
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2023-06-27 22:54:33 +0200
committerAlexandre Bouvier <contact@amb.tf>2023-07-12 04:51:45 +0200
commitc3050c1b48040ee1c66f7e84efa8e49fbe35a3e3 (patch)
treee69757e6255f68e5e18f1c8d483323e9a9cdbd4e /externals
parentMerge pull request #10985 from liamwhite/handle-translate (diff)
downloadyuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.gz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.bz2
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.lz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.xz
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.tar.zst
yuzu-c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3.zip
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt6
m---------externals/VulkanMemoryAllocator0
m---------externals/vma/VulkanMemoryAllocator0
-rw-r--r--externals/vma/vma.cpp8
4 files changed, 3 insertions, 11 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 4ff588851..1f7cd598e 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -144,9 +144,9 @@ endif()
add_subdirectory(nx_tzdb)
# VMA
-add_library(vma vma/vma.cpp)
-target_include_directories(vma PUBLIC ./vma/VulkanMemoryAllocator/include)
-target_link_libraries(vma PRIVATE Vulkan::Headers)
+if (NOT TARGET GPUOpen::VulkanMemoryAllocator)
+ add_subdirectory(VulkanMemoryAllocator)
+endif()
if (NOT TARGET LLVM::Demangle)
add_library(demangle demangle/ItaniumDemangle.cpp)
diff --git a/externals/VulkanMemoryAllocator b/externals/VulkanMemoryAllocator
new file mode 160000
+Subproject 9b0fc3e7b02afe97895eb3e945fe800c3a7485a
diff --git a/externals/vma/VulkanMemoryAllocator b/externals/vma/VulkanMemoryAllocator
deleted file mode 160000
-Subproject 0aa3989b8f382f185fdf646cc83a1d16fa31d6a
diff --git a/externals/vma/vma.cpp b/externals/vma/vma.cpp
deleted file mode 100644
index 1fe2cf52b..000000000
--- a/externals/vma/vma.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#define VMA_IMPLEMENTATION
-#define VMA_STATIC_VULKAN_FUNCTIONS 0
-#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
-
-#include <vk_mem_alloc.h> \ No newline at end of file