Docs: visibility venues, Metal's subnormal sample coordinates, a shared event's queue rule

Three corrections, each checked against the tree:

- runtime/src/visibility.rs said Metal's visibility-result behaviour was
  measured on an M4, which is not one of our venues. The conformance
  suite's visibility cases record Metal's answers on an Apple M3 Max with
  macOS 27.0.1 (recordings/visibility-*.json); the doc now names that venue.
  The 5300M and UHD 630 answers it cites beside it are unchanged.

- docs/FAST-PATHS.md's DeviceSampling row (and docs/API.md's device-sampling
  entry) said Metal reads any subnormal coordinate as the zero of its sign
  before addressing. That holds for a normalized coordinate (measured on the
  M3 Max on R32Float, PrecisionNote::DeviceSampling's documentation); a
  negative subnormal pixel coordinate addresses texel -1, as the M3 Max's
  recording of pixel-samplers-subnormal-border answers (the border at
  -2^-149, -2^-140 and -2^-127, known-gaps.tsv). Both now say so, and the 27
  known-gaps.tsv rows that quoted the old reading quote the new one.

- SharedEvent::reserve_vk_signal's Safety text lacked the same-VkQueue rule
  that Event::reserve_vk_signal states. A shared event's command-buffer waits
  are held on the host (event_timeline.rs: a settable timeline never hands
  a wait to Vulkan), but a command buffer that signals the event after the
  reservation waits on its VkQueue for the reserved index before its own
  signal (EventTimeline::signal's `after`, the order wait in
  command_buffer/submit.rs), so the caller's signalling submission must not
  go behind it on one VkQueue, and a texture copy on the first VkQueue behind
  it waits for the signal too. The rule is now stated, scoped to those
  signalling command buffers.

Verified: rustdoc and the runtime's degradation_catalogue test over the
edited text; no behaviour changes.

(cherry picked from commit 12bac3fafd3d3e66dc0b88d01231dd30e2694ffb)
This commit is contained in:
Anees Iqbal committed 2026-11-09 23:49:33 -08:00
1 parent ab10b3cbcf
commit dbad32bb7b
5 files changed
+48 -35

No files matched your search

+3 -3
View File
@@ -4039,9 +4039,9 @@ bound.
`VkProperty::DeviceSampling`), its level clamp the descriptor's as given (a `lodMinClamp` past
level 15, past every texture's last level, handed as 15, which reads the same level; Metal holds it on a
`1/64` grid, and its nearest mip filter reads the lower level at a clamp halfway between two,
where the device may read the upper) and a subnormal coordinate the device's to read (Metal reads it as a zero before
addressing). That includes a
linear sample of a two-plane YCbCr texture, whose texels hold Metal's reads exactly: the device's
where the device may read the upper) and a subnormal coordinate the device's to read (Metal reads
a normalized one as a zero before addressing, and a negative pixel one as texel -1). That includes
a linear sample of a two-plane YCbCr texture, whose texels hold Metal's reads exactly: the device's
filter of them lands within 1.183 codes (1/255) of Metal's sum on the format's grid, so a draw
binding such a texture makes no pipeline of its own.
- `metal2vulkan-degrade-native-transcendentals` (precision). `PrecisionNote::NativeTranscendentals`: