summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
blob: 849a2aa04010b749507a9b28ffdc879db4f068b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)