mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-27 12:57:03 +02:00
[vk] Moving Maintenance features to wrapper
This commit is contained in:
parent
a9b36c444e
commit
b771bdfcd5
2 changed files with 11 additions and 11 deletions
|
|
@ -22,6 +22,17 @@
|
||||||
|
|
||||||
#include <vulkan/vulkan.h>
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
|
// Define maintenance 7-9 extension names (not yet in official Vulkan headers)
|
||||||
|
#ifndef VK_KHR_MAINTENANCE_7_EXTENSION_NAME
|
||||||
|
#define VK_KHR_MAINTENANCE_7_EXTENSION_NAME "VK_KHR_maintenance7"
|
||||||
|
#endif
|
||||||
|
#ifndef VK_KHR_MAINTENANCE_8_EXTENSION_NAME
|
||||||
|
#define VK_KHR_MAINTENANCE_8_EXTENSION_NAME "VK_KHR_maintenance8"
|
||||||
|
#endif
|
||||||
|
#ifndef VK_KHR_MAINTENANCE_9_EXTENSION_NAME
|
||||||
|
#define VK_KHR_MAINTENANCE_9_EXTENSION_NAME "VK_KHR_maintenance9"
|
||||||
|
#endif
|
||||||
|
|
||||||
// Sanitize macros
|
// Sanitize macros
|
||||||
#undef CreateEvent
|
#undef CreateEvent
|
||||||
#undef CreateSemaphore
|
#undef CreateSemaphore
|
||||||
|
|
|
||||||
|
|
@ -23,17 +23,6 @@
|
||||||
#include "video_core/vulkan_common/vulkan_device.h"
|
#include "video_core/vulkan_common/vulkan_device.h"
|
||||||
#include "video_core/vulkan_common/vulkan_wrapper.h"
|
#include "video_core/vulkan_common/vulkan_wrapper.h"
|
||||||
|
|
||||||
// Define maintenance 7-9 extension names (not yet in official Vulkan 1.3 headers)
|
|
||||||
#ifndef VK_KHR_MAINTENANCE_7_EXTENSION_NAME
|
|
||||||
#define VK_KHR_MAINTENANCE_7_EXTENSION_NAME "VK_KHR_maintenance7"
|
|
||||||
#endif
|
|
||||||
#ifndef VK_KHR_MAINTENANCE_8_EXTENSION_NAME
|
|
||||||
#define VK_KHR_MAINTENANCE_8_EXTENSION_NAME "VK_KHR_maintenance8"
|
|
||||||
#endif
|
|
||||||
#ifndef VK_KHR_MAINTENANCE_9_EXTENSION_NAME
|
|
||||||
#define VK_KHR_MAINTENANCE_9_EXTENSION_NAME "VK_KHR_maintenance9"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(ANDROID) && defined(ARCHITECTURE_arm64)
|
#if defined(ANDROID) && defined(ARCHITECTURE_arm64)
|
||||||
#include <adrenotools/bcenabler.h>
|
#include <adrenotools/bcenabler.h>
|
||||||
#include <android/api-level.h>
|
#include <android/api-level.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue