summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vma.h
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2023-07-30 13:10:00 +0200
committerAlexandre Bouvier <contact@amb.tf>2023-07-31 13:01:21 +0200
commited3f9bab11b7160f17c08af1c57cfb4598514941 (patch)
tree41ef27da0e8c21e3f059f2c2e5e843b6cf72f00c /src/video_core/vulkan_common/vma.h
parentMerge pull request #11155 from liamwhite/memory3 (diff)
downloadyuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar.gz
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar.bz2
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar.lz
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar.xz
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.tar.zst
yuzu-ed3f9bab11b7160f17c08af1c57cfb4598514941.zip
Diffstat (limited to 'src/video_core/vulkan_common/vma.h')
-rw-r--r--src/video_core/vulkan_common/vma.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vma.h b/src/video_core/vulkan_common/vma.h
new file mode 100644
index 000000000..6e25aa1bd
--- /dev/null
+++ b/src/video_core/vulkan_common/vma.h
@@ -0,0 +1,11 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "video_core/vulkan_common/vulkan.h"
+
+#define VMA_STATIC_VULKAN_FUNCTIONS 0
+#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
+
+#include <vk_mem_alloc.h>