Files
metal2vulkan/docs
Anees Iqbal d274b0b474 Conformance ledger: the texture-buffer and held-texture routes of norm-storage-codes on the NVIDIA cards and the Iris Xe
What: 20 rows in known-gaps-rt.tsv, at case/hsw_buffer/texels and case/hsw_held/texels of
norm-storage-codes-{rgba8unorm, rgba8snorm, rgb10a2unorm, rgba16unorm, rgba16snorm}: ten on
NVIDIA, ten on the Iris Xe. Each carries its card's hsw_write row's reason, with one more
sentence:
- the route answers as `hsw_write` does: the same count, the same largest difference, the same
  first differing element;
- the case's pipeline records `device-color-conversion` and `device-nan-encoding` on that card.
docs/CONFORMANCE-COVERAGE.md is regenerated.

Why: texbuf (817463704e onward) builds texture buffers, and the case's `hsw_buffer` route reaches
the device. Its `hsw_held` route answers on the GPU cards too. Their lavapipe rows came with
b7e3247961; the GPU cards' rows did not.
- The bytes are the card's own normalized conversion at a tie (rule 1), the conversion the
  texture route already ledgers:
  - NVIDIA stores the lower code at a unorm tie: Metal 0x1010101, ours 0x0 (rgba8unorm).
  - At an snorm tie NVIDIA stores the code toward zero: Metal 0x81818181, ours 0x82828282.
  - ANV rounds ties to even.
- The RX 7900 XTX (m3-max-63842) and the 780M (63840) answer Metal's bytes on all four routes.
- The store lowering is the texture's own (lower/texture/mod.rs, `ImageDim::Buffer` included):
  it calls `norm_storage_facts`, which records `DeviceColorConversion` for a slot whose storage
  choice is a normalized format of the identity class, or that has none.

Verified: the compile job and the replays on the 3090 and the Iris Xe, named with the sha.
2026-11-21 08:19:35 -08:00
..