From c66668e74304b2f2635ad271bc0a3e6667e2779f Mon Sep 17 00:00:00 2001 From: LEE KYOUNGHEON Date: Wed, 9 Oct 2024 21:24:29 +0900 Subject: [PATCH] VK_KHR_portability_enumeration shouldn't be enabled outside the MoltenVK environment. --- test/execute_hierarchical_commands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/execute_hierarchical_commands.cpp b/test/execute_hierarchical_commands.cpp index 91042a5..cedbba7 100644 --- a/test/execute_hierarchical_commands.cpp +++ b/test/execute_hierarchical_commands.cpp @@ -112,10 +112,12 @@ int main() { vk::makeApiVersion(0, 1, 0, 0), }), {}, +#if __APPLE__ vku::unsafeProxy({ vk::KHRGetPhysicalDeviceProperties2ExtensionName, vk::KHRPortabilityEnumerationExtensionName, }), +#endif } }; #if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 VULKAN_HPP_DEFAULT_DISPATCHER.init(*instance);