From ed3f9bab11b7160f17c08af1c57cfb4598514941 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Sun, 30 Jul 2023 13:10:00 +0200 Subject: vma: enable options everywhere --- src/video_core/vulkan_common/vulkan.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/video_core/vulkan_common/vulkan.h (limited to 'src/video_core/vulkan_common/vulkan.h') diff --git a/src/video_core/vulkan_common/vulkan.h b/src/video_core/vulkan_common/vulkan.h new file mode 100644 index 000000000..3fa963647 --- /dev/null +++ b/src/video_core/vulkan_common/vulkan.h @@ -0,0 +1,13 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#define VK_NO_PROTOTYPES +#ifdef _WIN32 +#define VK_USE_PLATFORM_WIN32_KHR +#elif defined(__APPLE__) +#define VK_USE_PLATFORM_METAL_EXT +#endif + +#include -- cgit v1.2.3