Metal API Minimal Example

Tested with macOS Big Sur 11.4

Compile from terminal: swiftc Demo.swift

alt text