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_enum_string_helper.h
vendored
6
thirdparty/vulkan/vk_enum_string_helper.h
vendored
@ -13,11 +13,7 @@
|
||||
#ifdef __cplusplus
|
||||
#include <string>
|
||||
#endif
|
||||
#ifdef USE_VOLK
|
||||
#include <volk.h>
|
||||
#else
|
||||
#include <vulkan/vulkan.h>
|
||||
#endif
|
||||
#include "drivers/vulkan/godot_vulkan.h"
|
||||
static inline const char* string_VkResult(VkResult input_value) {
|
||||
switch (input_value) {
|
||||
case VK_SUCCESS:
|
||||
|
||||
Reference in New Issue
Block a user