summaryrefslogtreecommitdiffstats
path: root/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch')
-rw-r--r--thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch b/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
index 1cd2b60cd8..8517b277d0 100644
--- a/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
+++ b/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
@@ -1,17 +1,17 @@
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
-index 8c77dd3ee5..be968c091d 100644
+index 9d2af46344..d61dbb1290 100644
--- a/thirdparty/vulkan/vk_enum_string_helper.h
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
-@@ -23,7 +23,11 @@
- // NOLINTBEGIN
- #pragma once
+@@ -13,7 +13,11 @@
+ #ifdef __cplusplus
#include <string>
+ #endif
-#include <vulkan/vulkan.h>
+#ifdef USE_VOLK
+ #include <volk.h>
+#else
+ #include <vulkan/vulkan.h>
+#endif
-
- static inline bool IsDuplicatePnext(VkStructureType input_value) {
+ static inline const char* string_VkResult(VkResult input_value) {
switch (input_value) {
+ case VK_SUCCESS: