Files
Anees Iqbal fce83ac2cf Docs: what the runtime does now, where a line named the deleted one
The rename gave metal2vulkan-runtime to the new runtime, so every line
written while the name meant the deleted runtime read as a claim about
the live one. Each was read against the new runtime's code:

- The precision notes no longer say the runtime announces a kind or a
  code of its own (it announces none; the conformance suite maps notes to
  codes), nor what a device Device::new made records (only
  Device::from_queries remains). The notes the runtime carries stay:
  DepthStencilState::precision_note, RenderCommandEncoder::DEPTH_BIAS_NOTE,
  BlitCommandEncoder::GENERATE_MIPMAPS_NOTE,
  RenderPassDescriptor::precision_note, Texture::precision_note.
- An inert kernel's dispatch: the runtime records it like any other.
- API.md: the runtime takes no unit-axes variant, and runs a
  partition-oblivious kernel's every direct dispatch in its tiles (from
  the runtime's pipeline module docs).
- The translator's profile docs: no runtime announces mesh draws, reads
  YCbCr in-place facts, keeps a bind-offset key or runs a view check.
- An aliased-import defect: the runtime has no use_host_ram.
- derive.rs: no runtime reads the allocation limits.
- texel_rows.metal names the test that runs it now (aliased_encoders).
- docs/RUNTIME-PORTING.md is deleted with its README row: 216 of its
  351 runtime items no longer exist, and each runtime item's rustdoc
  names its Metal counterpart.
- CHANGELOG 0.2.0: no fast-path switches, announced codes or
  queue-switch check.

Not built yet; the gate for the whole pass follows.
2026-11-20 10:27:17 -08:00

27 lines
1.5 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.
- **Typed refusals and static precision notes**: input a device cannot run fails with an error that
names what is missing; where a device's answer can differ from Metal's, the operation carries a
static precision note.
- **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.