feat: godot-engine-source-4.3-stable
This commit is contained in:
parent
c59a7dcade
commit
7125d019b5
11149 changed files with 5070401 additions and 0 deletions
17
engine/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
vendored
Normal file
17
engine/thirdparty/vulkan/patches/VKEnumStringHelper-use-volk.patch
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
|
||||
index 9d2af46344..d61dbb1290 100644
|
||||
--- a/thirdparty/vulkan/vk_enum_string_helper.h
|
||||
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
|
||||
@@ -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 const char* string_VkResult(VkResult input_value) {
|
||||
switch (input_value) {
|
||||
case VK_SUCCESS:
|
||||
17
engine/thirdparty/vulkan/patches/VMA-use-volk.patch
vendored
Normal file
17
engine/thirdparty/vulkan/patches/VMA-use-volk.patch
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff --git a/thirdparty/vulkan/vk_mem_alloc.h b/thirdparty/vulkan/vk_mem_alloc.h
|
||||
index 711f486571..e5eaa80e74 100644
|
||||
--- a/thirdparty/vulkan/vk_mem_alloc.h
|
||||
+++ b/thirdparty/vulkan/vk_mem_alloc.h
|
||||
@@ -127,7 +127,11 @@ See documentation chapter: \ref statistics.
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
-#include <vulkan/vulkan.h>
|
||||
+#ifdef USE_VOLK
|
||||
+ #include <volk.h>
|
||||
+#else
|
||||
+ #include <vulkan/vulkan.h>
|
||||
+#endif
|
||||
|
||||
#if !defined(VMA_VULKAN_VERSION)
|
||||
#if defined(VK_VERSION_1_3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue