mirror of
https://github.com/sal063/AC6_recomp
synced 2026-06-05 19:28:34 -04:00
57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
#pragma once
|
|
/**
|
|
******************************************************************************
|
|
* Xenia : Xbox 360 Emulator Research Project *
|
|
******************************************************************************
|
|
* Copyright 2025 Ben Vanik. All rights reserved. *
|
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
|
******************************************************************************
|
|
*
|
|
* @modified Tom Clay, 2026 - Adapted for ReXGlue runtime
|
|
*/
|
|
|
|
#include <rex/assert.h> // For Vulkan-Hpp.
|
|
#include <rex/platform.h>
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
#define VK_NO_PROTOTYPES
|
|
#endif
|
|
|
|
#ifndef VK_ENABLE_BETA_EXTENSIONS
|
|
#define VK_ENABLE_BETA_EXTENSIONS
|
|
#endif
|
|
|
|
// Disable to_string in vulkan.hpp to avoid circular dependency with vulkan_to_string.hpp
|
|
#ifndef VULKAN_HPP_NO_TO_STRING
|
|
#define VULKAN_HPP_NO_TO_STRING
|
|
#endif
|
|
|
|
#if REX_PLATFORM_ANDROID
|
|
#ifndef VK_USE_PLATFORM_ANDROID_KHR
|
|
#define VK_USE_PLATFORM_ANDROID_KHR
|
|
#endif
|
|
#endif
|
|
|
|
#if REX_PLATFORM_GNU_LINUX
|
|
#ifndef VK_USE_PLATFORM_XCB_KHR
|
|
#define VK_USE_PLATFORM_XCB_KHR
|
|
#endif
|
|
#endif
|
|
|
|
#if REX_PLATFORM_WIN32
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#endif
|
|
#ifndef NOMINMAX
|
|
#define NOMINMAX
|
|
#endif
|
|
#include <windows.h>
|
|
#ifndef VK_USE_PLATFORM_WIN32_KHR
|
|
#define VK_USE_PLATFORM_WIN32_KHR
|
|
#endif
|
|
#endif
|
|
|
|
#include <vulkan/vulkan.h>
|
|
#include <vulkan/vulkan_hpp_macros.hpp>
|
|
#include <vulkan/vulkan_to_string.hpp>
|