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.
1.9 KiB
1.9 KiB
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. Theclifeature builds ametal2vulkancommand 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 throughash. - 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 wasLGPL-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.
0.1.0
The initial release: a single-stage AIR to SPIR-V translator and its command-line tool.