gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
This commit is contained in:
parent
3f7a5370a3
commit
aff5071d4e
8
BUILD.gn
8
BUILD.gn
@ -27,9 +27,15 @@ config("vulkan_headers_config") {
|
|||||||
if (is_fuchsia) {
|
if (is_fuchsia) {
|
||||||
defines += [ "VK_USE_PLATFORM_FUCHSIA" ]
|
defines += [ "VK_USE_PLATFORM_FUCHSIA" ]
|
||||||
}
|
}
|
||||||
if (is_mac) {
|
if (is_apple) {
|
||||||
defines += [ "VK_USE_PLATFORM_METAL_EXT" ]
|
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) {
|
if (defined(is_ggp) && is_ggp) {
|
||||||
defines += [ "VK_USE_PLATFORM_GGP" ]
|
defines += [ "VK_USE_PLATFORM_GGP" ]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user