- Update minimum Xcode deployment targets to macOS 10.13, iOS 11, and tvOS 11, to avoid Xcode build warnings. - Add support for MTLLanguageVersion3_0 enumeration. - Build efficiencies: - Build scripts create_dylib.sh and gen_moltenvk_rev_hdr.sh only run if build dependencies require it. - Packaging and copy_to_staging.sh scripts are too complex to define dependencies, and are fast, so configured to run every time, to avoid build warning. - Replace use of deprecated sprintf() with snprintf(). - Replace use of deprecated kIOMasterPortDefault with kIOMainPortDefault. - Support old-style GPU debug capture only if building for earlier minimum deployment targets, to avoid deprecation warning. - Update minimum Xcode deployment targets of Cube demo to macOS 10.14, iOS 12, and tvOS 12, to avoid Xcode build warning regarding MTLSharedEvent in . - Update README.md document regarding minimum Xcode deployment targets.

#MoltenVK Demo Projects
Copyright (c) 2015-2022 The Brenwill Workshop Ltd.
Table of Contents
Cube
The basic canonical Cube sample app from the Vulkan-Tools repository is included in this MoltenVK package.
This demo renders a basic textured cube that spins in place.
The demo can be found in the Cube
folder, and in the Cube
group in the
Xcode Project Navigator in the Demos.xcworkspace
Xcode workspace.
To run this demo, run the Cube-iOS
, Cube-tvOS
, or Cube-macOS
Scheme from within Xcode.
In addition to devices, this demo will also run on the iOS Simulator
or tvOS Simulator
destinations.
The Cube
demo is a simple example of installing MoltenVK as an XCFramework
that is
statically linked to the application. It supports all platforms, including Mac Catalyst, iOS
Simulator and tvOS Simulator, and all architectures including Apple Silicon.
Khronos Vulkan Samples
Khronos Group provides a repository containing a full suite of standard Vulkan samples that run on MoltenVK on macOS.