diff --git a/crates/metal2vulkan-conformance/src/cases/denormal_word_fetches.rs b/crates/metal2vulkan-conformance/src/cases/denormal_word_fetches.rs index 4cb4af046..794d85031 100644 --- a/crates/metal2vulkan-conformance/src/cases/denormal_word_fetches.rs +++ b/crates/metal2vulkan-conformance/src/cases/denormal_word_fetches.rs @@ -5,7 +5,10 @@ //! its samplers, while RADV's gathers and nearest samples, NVIDIA's gathers and ANV's nearest //! samples hand back **the zero of the texel's sign** — and every one of those devices' plain //! fetches keeps it. A denormal flushed to zero is a value a comparison in floats would call -//! almost right, so every site here records unsigned words and compares them exactly. +//! almost right, so every site here records unsigned words and compares them exactly. This case's +//! replay on RADV (Mesa 26.2.6, the RX 7900 XTX and the Radeon 780M, 2026-11-07) differed at the +//! four nearest-sample sites alone: its gathers kept the word there. The device's flush is its +//! native answer, `device-texel-conversion`. //! //! The owned fixture `denormal_texels` is the one written for this question. Lane `i` reads the //! coordinate `in[i].xy` and writes eight `float4`s, each a site of its own because each is its own diff --git a/crates/metal2vulkan/src/pipeline/artifact.rs b/crates/metal2vulkan/src/pipeline/artifact.rs index 8274d785a..9b77745c1 100644 --- a/crates/metal2vulkan/src/pipeline/artifact.rs +++ b/crates/metal2vulkan/src/pipeline/artifact.rs @@ -1757,6 +1757,9 @@ pub enum PrecisionNote { /// denormal flushed to a zero of its sign, where Metal hands back the texel's own bits /// (NVIDIA's 615.71.09 on the RTX 5080 Laptop GPU gathers every NaN as `0x7fffffff` and /// every denormal as a zero, and reads and samples both as stored); + /// - a 32-bit float texel's denormal in a nearest sample: a zero of its sign on a device that + /// flushes it there, where Metal hands back the texel's own bits (RADV's Mesa 26.2.6 on the + /// RX 7900 XTX and the Radeon 780M samples a denormal as a zero, and gathers it as stored); /// - every other class: the device's value, which Metal's matches. /// /// A filtered sample's value is the filter's. Validation derives no tolerance from it. diff --git a/docs/API.md b/docs/API.md index 16a2a5647..1f530dec0 100644 --- a/docs/API.md +++ b/docs/API.md @@ -3684,7 +3684,9 @@ bound. Metal answers `0x7fc00000`; a 32-bit float texel's NaN in a gather in the device's encoding, and its denormal in a gather a zero of its sign, where Metal hands back the texel's bits (NVIDIA's 615.71.09 on the RTX 5080 Laptop GPU gathers every NaN as `0x7fffffff` and every - denormal as a zero); every other class Metal's value. + denormal as a zero); a 32-bit float texel's denormal in a nearest sample a zero of its sign on a + device that flushes it there (RADV's Mesa 26.2.6 on the RX 7900 XTX and the Radeon 780M, which + gathers it as stored); every other class Metal's value. - `metal2vulkan-degrade-device-vertex-conversion` (precision). `PrecisionNote::DeviceVertexConversion`: Native vertex input (a conversion): a render pipeline's vertex descriptor gives a normalized format (`UCharNormalized` through `Short4Normalized` of