Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.
This commit is contained in:
6
thirdparty/vulkan/vk_mem_alloc.h
vendored
6
thirdparty/vulkan/vk_mem_alloc.h
vendored
@ -122,16 +122,12 @@ for user-defined purpose without allocating any real GPU memory.
|
||||
See documentation chapter: \ref statistics.
|
||||
*/
|
||||
|
||||
#include "drivers/vulkan/godot_vulkan.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
|
||||
#if !defined(VMA_VULKAN_VERSION)
|
||||
#if defined(VK_VERSION_1_3)
|
||||
|
||||
Reference in New Issue
Block a user