From c3050c1b48040ee1c66f7e84efa8e49fbe35a3e3 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Tue, 27 Jun 2023 22:54:33 +0200 Subject: cmake: allow using system VMA library --- src/video_core/vulkan_common/vma.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/video_core/vulkan_common/vma.cpp (limited to 'src/video_core/vulkan_common/vma.cpp') diff --git a/src/video_core/vulkan_common/vma.cpp b/src/video_core/vulkan_common/vma.cpp new file mode 100644 index 000000000..1fe2cf52b --- /dev/null +++ b/src/video_core/vulkan_common/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 \ No newline at end of file -- cgit v1.2.3