2021-08-12 19:24:54 +08:00
|
|
|
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
|
2023-09-01 17:11:12 +08:00
|
|
|
index 8c77dd3ee5..be968c091d 100644
|
2021-08-12 19:24:54 +08:00
|
|
|
--- a/thirdparty/vulkan/vk_enum_string_helper.h
|
|
|
|
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
|
2023-09-01 17:11:12 +08:00
|
|
|
@@ -23,7 +23,11 @@
|
|
|
|
// NOLINTBEGIN
|
|
|
|
#pragma once
|
2021-08-12 19:24:54 +08:00
|
|
|
#include <string>
|
|
|
|
-#include <vulkan/vulkan.h>
|
|
|
|
+#ifdef USE_VOLK
|
|
|
|
+ #include <volk.h>
|
|
|
|
+#else
|
|
|
|
+ #include <vulkan/vulkan.h>
|
|
|
|
+#endif
|
|
|
|
|
2023-09-01 17:11:12 +08:00
|
|
|
static inline bool IsDuplicatePnext(VkStructureType input_value) {
|
|
|
|
switch (input_value) {
|