diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index 2d8c39c9f..49eb8e98a 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -2389,7 +2389,14 @@ once, as it is made, with no lock, and never rewritten for layouts. - Every `float` or `half` sample, gather and read of a sampled colour image tests its texture's word for `BGR10_XR` and `BGRA10_XR` and maps their codes in a branch (docs/API.md): on a texture - of any other format the read pays the word's test and the branch. + of any other format the read pays the word's test and the branch. In the compute harness's GPU + time, with and without the branch alternated in one run, `sampling`, + `sampling_distinct_512x512x16` and `texture_read` took +0.4%, 0.0% and -0.2% (medians of 5 + rounds) on an Iris Xe (Mesa 26.2.6), 0.0%, 0.0% and +3.0% (medians of 3 rounds; `texture_read`'s + own rounds without the branch spread 3.2%) on an RTX 3090 (NVIDIA 620.70.06), and -0.2%, 0.0% + and -0.4% (3 rounds) on an RX 7900 XTX (Mesa 26.2.6). These were measured on earlier forms of + the branch; its later changes (on the RTX 3090 and the RX 7900 XTX the map's operations kept + uncontracted, on all three a gather's nearest code) add work inside the branch alone. - A sample of a `BGR10_XR` or `BGRA10_XR` texture past its edge through a sampler's `ClampToBorderColor` or `ClampToZero` reads the device's border colour as a code (opaque white as `1.2529`, `BGRA10_XR`'s `1.2549`; black as `-0.7529`) where Metal reads 0 or 1, and a linear