rpcsx/rpcs3/Emu/RSX/VK/VulkanAPI.h

27 lines
475 B
C
Raw Normal View History

2020-12-05 13:08:24 +01:00
#pragma once
#ifdef _WIN32
#define VK_USE_PLATFORM_WIN32_KHR
#elif defined(__APPLE__)
#define VK_USE_PLATFORM_MACOS_MVK
#elif HAVE_X11
#define VK_USE_PLATFORM_XLIB_KHR
#endif
2021-01-10 17:06:27 +01:00
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4005 )
2021-01-10 17:06:27 +01:00
#endif
#include <vulkan/vulkan.h>
2021-01-10 17:06:27 +01:00
#ifdef _MSC_VER
#pragma warning(pop)
2021-01-10 17:06:27 +01:00
#endif
#include <util/types.hpp>
#if VK_HEADER_VERSION < 287
constexpr VkDriverId VK_DRIVER_ID_MESA_HONEYKRISP = static_cast<VkDriverId>(26);
#endif