summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
blob: 9a2267e2b6e9adda741e577407aabe522bc76125 (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 4c36430341..004a861774 100644
--- a/thirdparty/vulkan/vk_enum_string_helper.h
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
@@ -36,7 +36,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)