summaryrefslogtreecommitdiffstats
path: root/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
diff options
context:
space:
mode:
authorJakub Marcowski <01158831@pw.edu.pl>2024-02-05 20:39:02 +0100
committerJakub Marcowski <01158831@pw.edu.pl>2024-02-06 13:46:56 +0100
commit8350c88718736978b41001084dda38d00d84ce33 (patch)
tree47559c286c9adc85a4b4068d41c05bd620597bf4 /thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
parentd3352813ea44447bfbf135efdec23acc4d1d3f89 (diff)
downloadredot-engine-8350c88718736978b41001084dda38d00d84ce33.tar.gz
vulkan: Update all components to Vulkan SDK 1.3.275.0
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: