mach v0.4.0 — cross-platform shaders
mach v0.4.0 — cross-platform shaders
Write the shaders once, run everywhere — without giving up the clone-and-build experience.
Highlights
- Write-once shaders. Authored once in HLSL and cross-compiled offline to SPIR-V (Vulkan) and MSL (Metal), baked into a committed header. Cloning, building, and running need no shader toolchain.
- Windows support via the Vulkan backend (SDL_GPU selects it automatically; any current GPU driver ships the Vulkan runtime — no SDK needed to run).
- Frame pacing fixed. The swapchain no longer locks to the display's vsync, so the engine's frame cap actually governs.
Downloads
- macOS (Apple Silicon):
mach-v0.4.0-macos-arm64.zip - Windows (x64):
mach-v0.4.0-windows-x64.zip
Unzip and run the mach binary; keep the bundled SDL3 library next to it.
macOS: the binary is unsigned, so first launch may be blocked. Either right-click → Open, or clear quarantine:
xattr -dr com.apple.quarantine mach.