Files
metal2vulkan/CHANGELOG.md
T
Anees Iqbal a9dce911e7 Known gaps: drop the first commit's translation; held_step_order's numbers from a release build
9aadbdf281 rewrote the known gap from the test profile's numbers. A release build of the same
test on the same idle Radeon 780M (RADV PHOENIX, m3-max-31944, 2 processes x 3 runs) puts the first
commit of a host-step pass, which translates the variants its step draws with, at 4.5 and 5.4 ms,
and a later one at 0.11 to 0.19 ms; the unoptimized test build takes 23 to 25 ms and 1.0 to 1.3 ms
there. Nothing measured holds a guest's commit past a frame's 16 ms any more: the 406 and 10.5 ms
were the test build inside a suite that loaded the host's cores. So the known-gap row goes, and
CHANGELOG's known-failing line names only the teardown test. The test's COMMIT doc carries the
release and the test build's numbers.

Docs and a test comment only. Verified: the numbers are m3-max-31944's printouts.
2026-11-15 05:45:35 -08:00

32 lines
1.9 KiB
Markdown

# Changelog
## 0.2.0
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](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`.
- **Known failing**: a latency test fails on some GPUs: a device's teardown can wait past 16 ms for
its queue-switch check (an RTX 2080), an open gap in
[docs/FAST-PATHS.md](docs/FAST-PATHS.md#known-gaps).
## 0.1.0
The initial release: a single-stage AIR to SPIR-V translator and its command-line tool.