mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
0181d005c9
Updates to volk, vulkan headers, `vk_enum_string_helper.h`, glslang, spirv-reflect. No update to VMA which still has 3.0.1 as it's last tagged release.
18 lines
463 B
Diff
18 lines
463 B
Diff
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
|
|
index 65b3322c07..e8c61aaf15 100644
|
|
--- a/thirdparty/vulkan/vk_enum_string_helper.h
|
|
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
|
|
@@ -37,7 +37,11 @@
|
|
#endif
|
|
|
|
#include <string>
|
|
-#include <vulkan/vulkan.h>
|
|
+#ifdef USE_VOLK
|
|
+ #include <volk.h>
|
|
+#else
|
|
+ #include <vulkan/vulkan.h>
|
|
+#endif
|
|
|
|
|
|
static inline const char* string_VkResult(VkResult input_value)
|