Files
metal2vulkan/CHANGELOG.md
T
Anees Iqbal 13b279df1b Squash 11203 commits of translator, runtime, and validation work
Rolls up everything since 43c46ac8 into a single commit. Its tree is
identical to the tree of private master at
b3c77f2d2b20a432be10591a2129547c10b1c24b.

- A Cargo workspace of five crates under crates/: metal2vulkan (the
  translator and the metal2vulkan command), metal2vulkan-runtime (the
  Metal API on Vulkan), metal2vulkan-air (the AIR front end),
  metal2vulkan-validation and metal2vulkan-devtools.
- Dual license: GPL-2.0-or-later OR LGPL-3.0-or-later.
- docs/: API, architecture, fast paths, how-to, Metal coverage,
  refusals, runtime porting and validation guides.

Private-Commit: b3c77f2d2b20a432be10591a2129547c10b1c24b
2026-10-11 20:09:13 +03:00

1.7 KiB

Changelog

0.2.0 (unreleased)

A full rewrite: nothing of 0.1.0's API or command line remains.

  • Translator (metal2vulkan): Metal AIR (a metallib or AIR bitcode) to Vulkan SPIR-V through a Metal-shaped API. It compiles compute, render, tessellation, tile and mesh pipelines for a described Vulkan device: SPIR-V per stage, one pipeline layout, fixed-function state, and binding plans that turn what a draw or dispatch binds into descriptor writes and push constants. The cli feature builds a metal2vulkan command that compiles one pipeline.
  • Runtime (metal2vulkan-runtime): the Metal API on Vulkan. Devices, command queues and buffers, the encoders, buffers, textures, heaps, pipeline states, events and indirect command buffers run on a Vulkan device through ash.
  • AIR front end (metal2vulkan-air): the metallib container, the bitcode reader, a typed IR, AIR's metadata ABI and canonicalization, as a crate of its own.
  • Fast by default: off Apple's GPUs, choices that trade exactness for speed take the device's native form, and each has an opt-in exact switch (docs/FAST-PATHS.md).
  • Typed refusals and announced degradations: input a device cannot run fails with an error that names what is missing; a recorded near-equivalent or an extra cost is announced once per device with a stable code.
  • Validation tooling (unpublished): authored cases run on Metal and on Vulkan and compared, plus bounded audits over a private corpus.
  • License: dual-licensed GPL-2.0-or-later OR LGPL-3.0-or-later; 0.1.0 was LGPL-3.0-or-later.

0.1.0

The initial release: a single-stage AIR to SPIR-V translator and its command-line tool.