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

2
DEPS
View File

@ -140,7 +140,7 @@ deps = {
Var('github_git') + '/google/shaderc.git' + '@' + '948660cccfbbc303d2590c7f44a4cee40b66fdd6',
'src/third_party/vulkan-deps':
Var('chromium_git') + '/vulkan-deps' + '@' + '23b710f1a0b3c44d51035c6400a554415f95d9c6',
Var('chromium_git') + '/vulkan-deps' + '@' + '9bb79e503dd5f60d14d46712d51bda9c9dd8f2d3',
'src/third_party/flatbuffers':
Var('github_git') + '/google/flatbuffers.git' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709',

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) \