People have already mentioned Metal, but if you want cross platform, https://github.com/gfx-rs/wgpu has a vulkan-like API and cross compiles to all the various GPU frameworks. I believe it uses https://github.com/KhronosGroup/MoltenVK to run on Macs. You can also see the metal shader transpilation results for debugging.
With what the OP asked for, I don't think wgpu is the right choice. They want to push the limits of Apple Silicon, or do Apple platform specific work, so an abstraction layer like wgpu is going in the opposite direction in my opinion.
Indeed. I'm curious how much overhead there is in practice given the fact that the hardware wasn't designed to provide vulkan support. I honestly have no clue what to expect.
rudedogg|1 year ago
Metal, and Apple's docs are the place to start.
PittleyDunkin|1 year ago
grovesNL|1 year ago
There is also a Vulkan backend if you want to run Vulkan through MoltenVK though.
dylanowen|1 year ago
tehsauce|1 year ago