MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
This adds a few macros to test which platform is currently being built. Addresses some compile warnings such as missing return values. Still a fair amount of deprecation warnings to handle.
Have not actually tested the resulting binary yet.
visionOS is also not yet enabled by default, not sure if we want to require Xcode 15 just yet and couldn't find a way of doing conditional dependencies in Xcode projects or Makefiles.
This adds a few macros to test which platform is currently being built. Addresses some compile warnings such as missing return values. Still a fair amount of deprecation warnings to handle.
Have not actually tested the resulting binary yet.
visionOS is also not yet enabled by default, not sure if we want to require Xcode 15 just yet and couldn't find a way of doing conditional dependencies in Xcode projects or Makefiles.
Fix #2160.