Skip to content

Commit

Permalink
added beta extension definition for apple
Browse files Browse the repository at this point in the history
According VK Specification VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR is guarded by VK_ENABLE_BETA_EXTENSIONS definition
  • Loading branch information
djbelyak committed Jul 16, 2024
1 parent 749f869 commit 68da671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 68da671

Please sign in to comment.