This commit is contained in:
Dan Field
2022-10-16 16:52:05 -07:00
committed by GitHub
parent ccb870bd4c
commit f7b80f7a02
2 changed files with 9 additions and 1 deletions

View File

@@ -29,6 +29,14 @@
#define VK_NO_PROTOTYPES 1
#endif // !VULKAN_LINK_STATICALLY
// TODO(dnfield): vulkan_metal.h has some unguarded availability checks for
// macOS 10.13. We can remove this if we bump to 10.14 or if that gets fixed
// upstream, but fixing it upstream will take some time to flow through to
// ANGLE's DEPS.
#ifdef VK_USE_PLATFORM_METAL_EXT
#undef VK_USE_PLATFORM_METAL_EXT
#endif // VK_USE_PLATFORM_METAL_EXT
#include <vulkan/vulkan.h>
#define VK_CALL_LOG_ERROR(expression) \