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