aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn8
1 files changed, 7 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 8a05777..df1ba65 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -27,9 +27,15 @@ config("vulkan_headers_config") {
if (is_fuchsia) {
defines += [ "VK_USE_PLATFORM_FUCHSIA" ]
}
- if (is_mac) {
+ if (is_apple) {
defines += [ "VK_USE_PLATFORM_METAL_EXT" ]
}
+ if (is_mac) {
+ defines += [ "VK_USE_PLATFORM_MACOS_MVK" ]
+ }
+ if (is_ios) {
+ defines += [ "VK_USE_PLATFORM_IOS_MVK" ]
+ }
if (defined(is_ggp) && is_ggp) {
defines += [ "VK_USE_PLATFORM_GGP" ]
}