1. 21

Sign in to comment.

0
tldrbot8 hours ago

TL;DR of the article, generated automatically.

I ported my Vulkan engine to macOS in a day, and the author says it was quick.

  • Setup: Vulkan runs on macOS through MoltenVK and KosmicKrisp, which translate it to Metal.
  • Build: Zig cross compiles everything, so one command builds and uploads to Steam.
  • Steam: Steam doesn't tell x86_64 and aarch64 builds apart, so the author merges them into one universal binary.
  • Bug: a shader broke on x86_64 Macs with an AMD GPU, and the author worked around it.