Files
metal2vulkan/docs
Anees Iqbal 3a6eac60d5 conformance: the decode cases' bound takes float rounding; fills and fresh textures declare the decode note; stale BC rows go
The whole-set replays of c83f9b0db1 on lavapipe named three things.

texture-fills-130, -134 and -152 and the fresh-texture-bc1-rgba rows make block-compressed
textures, which rt now notes as CompressedTexelDecode, and declared no such notice: both
families now declare it at the notices site (texture_fills.rs among the native notes it already
declares; fresh_contents.rs where the row's format is block-compressed). Neither loosens a value.

The old runtime announces compressed-texel-decode on lavapipe for BC1 to BC5, so with the
cases' bound justified by that notice its 40 llvmpipe rows (256 bits) no longer diverge, and the
replay said so. Those rows go, with the 128-bit lavapipe rows and the RTX 5080 Laptop rows
(whose recorded largest differences all lie inside the family bounds) and RADV's BC4 and BC5
rows (RADV holds no ChannelBlockDecodeIsMetals, so the old runtime announces there). RADV's BC1
to BC3 sRGB rows stay: RADV holds ColorBlockDecodeIsMetals, so the old runtime announces nothing
there.

Each texel is a float, rounded by up to half an ulp of a value below 1, so two codes exactly a
bound apart can read a few billionths past it (6/255 between 128/255 and 134/255 in float is
6/255 + 3e-8): the bound takes f32::EPSILON / 2 on top. The RTX 2080's BC3 reached
0.023529410362, 1.4e-9 inside 6/255, by that luck alone.

docs/API.md: the catalogue's measured bounds, from the per-element dumps on the RTX 2080
(620.70.06), the Iris Xe (ANV) and the UHD 630 (Intel's Windows driver): ANV and the UHD 630
reach BC3's alpha 2/255 and BC4/BC5 1.4/255 (signed 0.0134), past the 1/255 and 1.3/255
(0.013) it stated; the 2080's BC1 to BC3 3/255 and BC3's alpha 6/255.
2026-11-19 01:40:30 -08:00
..