aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-10-23 14:24:43 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-10-23 14:34:57 -0600
commitaff5071d4ee6215c60a91d8d983cad91bb25fb57 (patch)
tree80fc3f75920558efc455ef99e71385b7863a4477
parent3f7a5370a3a1f1526ec6d6d2d76f1d3699738e9a (diff)
downloadvulkan-headers-aff5071d4ee6215c60a91d8d983cad91bb25fb57.tar.gz
gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
-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" ]
}