From 68da67140597ea6eba8ed97a7c7180b8dd324387 Mon Sep 17 00:00:00 2001 From: Ivan Belyavtsev Date: Tue, 16 Jul 2024 14:02:20 +0300 Subject: [PATCH] added beta extension definition for apple According VK Specification VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR is guarded by VK_ENABLE_BETA_EXTENSIONS definition --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54ba1acc..dc39a641 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -226,7 +226,7 @@ if (NRI_ENABLE_VK_SUPPORT) if (WIN32) target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_WIN32_KHR) elseif (APPLE) - target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_METAL_EXT) + target_compile_definitions (NRI_VK PRIVATE VK_USE_PLATFORM_METAL_EXT VK_ENABLE_BETA_EXTENSIONS) else () if (NRI_ENABLE_XLIB_SUPPORT) find_path (XLIB_HEADERS NAMES "X11/Xlib.h")