From 7fdfa8c915199a2e342f09ee65946cc4a8b2a42b Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Thu, 5 Nov 2026 03:21:19 -0800 Subject: [PATCH] Name the subnormal grid in pixel_samplers' module doc without linking the private function RUSTDOCFLAGS='-D warnings' cargo doc failed on the stack 28 tree: the public module doc linked the private subnormal_grid (rustdoc::private_intra_doc_links). It is named in code text now; the public subnormals case list stays linked. Verified: the stack 28 gate's doc step failed on exactly this link; the docs leg reruns. --- crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs b/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs index 14842b463..5efce16ab 100644 --- a/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs +++ b/crates/metal2vulkan-conformance/src/cases/pixel_samplers.rs @@ -42,7 +42,7 @@ //! **Subnormal coordinates.** Four more cases (`pixel-samplers-subnormal-*`, [`subnormals`]) ask //! the same four sources of the `RGBA8Unorm` texture, through a nearest filter under each address //! mode, at sixteen coordinates whose one axis is a subnormal of either sign, a zero of either -//! sign, or `-2^-126` beside them ([`subnormal_grid`]). A nearest `slot` or `arg` site hands the +//! sign, or `-2^-126` beside them (`subnormal_grid`). A nearest `slot` or `arg` site hands the //! device its texel's centre `floor(x) + 0.5`, whose `floor` reads a subnormal by the device's //! float controls (`device-denormals`, a native note): where a negative subnormal is a texel apart //! from zero to Metal's sampler, an address mode that reads texel -1 as texel 0 (clamp to edge,