diff options
author | Juan Ramos <[email protected]> | 2023-10-23 14:24:43 -0600 |
---|---|---|
committer | Juan Ramos <[email protected]> | 2023-10-23 14:34:57 -0600 |
commit | aff5071d4ee6215c60a91d8d983cad91bb25fb57 (patch) | |
tree | 80fc3f75920558efc455ef99e71385b7863a4477 /BUILD.gn | |
parent | 3f7a5370a3a1f1526ec6d6d2d76f1d3699738e9a (diff) | |
download | Vulkan-Headers-aff5071d4ee6215c60a91d8d983cad91bb25fb57.tar.gz Vulkan-Headers-aff5071d4ee6215c60a91d8d983cad91bb25fb57.zip |
gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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" ] } |