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