2021-08-12 19:24:54 +08:00
|
|
|
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
|
2024-02-06 03:39:02 +08:00
|
|
|
index 9d2af46344..d61dbb1290 100644
|
2021-08-12 19:24:54 +08:00
|
|
|
--- a/thirdparty/vulkan/vk_enum_string_helper.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
|
2024-02-06 03:39:02 +08:00
|
|
|
@@ -13,7 +13,11 @@
|
|
|
|
#ifdef __cplusplus
|
2021-08-12 19:24:54 +08:00
|
|
|
#include <string>
|
2024-02-06 03:39:02 +08:00
|
|
|
#endif
|
2021-08-12 19:24:54 +08:00
|
|
|
-#include <vulkan/vulkan.h>
|
|
|
|
+#ifdef USE_VOLK
|
|
|
|
+ #include <volk.h>
|
|
|
|
+#else
|
|
|
|
+ #include <vulkan/vulkan.h>
|
|
|
|
+#endif
|
2024-02-06 03:39:02 +08:00
|
|
|
static inline const char* string_VkResult(VkResult input_value) {
|
2023-09-01 17:11:12 +08:00
|
|
|
switch (input_value) {
|
2024-02-06 03:39:02 +08:00
|
|
|
case VK_SUCCESS:
|