summaryrefslogtreecommitdiff
path: root/externals/vma/vma.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-27 11:21:36 -0400
committerGitHub <noreply@github.com>2023-06-27 11:21:36 -0400
commitc6959449d1e28f16d6eaf3a215f2bce5fab5ed0f (patch)
tree1ceac7222976e40bb12c3919cd3412d36b7ec93b /externals/vma/vma.cpp
parent20111c86b65afef07923fdb2f15867b7f8c69e32 (diff)
parentb6c6dcc5760ebaf08460c176c42d1c4729e2eb21 (diff)
Merge pull request #10473 from GPUCode/vma
Use vulkan memory allocator
Diffstat (limited to 'externals/vma/vma.cpp')
-rw-r--r--externals/vma/vma.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/externals/vma/vma.cpp b/externals/vma/vma.cpp
new file mode 100644
index 000000000..1fe2cf52b
--- /dev/null
+++ b/externals/vma/vma.cpp
@@ -0,0 +1,8 @@
+// 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