diff --git a/crates/metal2vulkan-conformance/src/cases/astc_textures.rs b/crates/metal2vulkan-conformance/src/cases/astc_textures.rs index 149521815..18a946af2 100644 --- a/crates/metal2vulkan-conformance/src/cases/astc_textures.rs +++ b/crates/metal2vulkan-conformance/src/cases/astc_textures.rs @@ -352,7 +352,7 @@ pub struct AstcTextures { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()).map(|at| AstcTextures { at }).collect() } diff --git a/crates/metal2vulkan-conformance/src/cases/buffer_depth_samples.rs b/crates/metal2vulkan-conformance/src/cases/buffer_depth_samples.rs index 429844cff..ba28962ff 100644 --- a/crates/metal2vulkan-conformance/src/cases/buffer_depth_samples.rs +++ b/crates/metal2vulkan-conformance/src/cases/buffer_depth_samples.rs @@ -2,13 +2,13 @@ //! out. //! //! Metal's answer here is a **rule**, not a table — "each copy unit of the buffer lands in its -//! sample by the layout measured for colour, texel `(x, y)` sample `s` at `offset + y * bytesPerRow -//! + (x * n + s) * bpp`, the samples outside a region keep the clear, and the copy back out returns -//! the buffer bit for bit" — measured by a probe on an **Apple M4**. Every call on the path is -//! public: a render pass that clears and draws nothing, `copyFromBuffer:toTexture:` into the depth -//! or stencil aspect, a dispatch that reads every sample, and `copyFromTexture:toBuffer:` back. So -//! record mode **runs** these cases on the oracle, and the recordings hold Metal's own numbers on -//! an Apple M3 Max, macOS 27.0.1. Nothing is carried. +//! sample by the layout measured for colour, texel `(x, y)` sample `s` at +//! `offset + y * bytesPerRow + (x * n + s) * bpp`, the samples outside a region keep the clear, and +//! the copy back out returns the buffer bit for bit" — measured by a probe on an **Apple M4**. +//! Every call on the path is public: a render pass that clears and draws nothing, +//! `copyFromBuffer:toTexture:` into the depth or stencil aspect, a dispatch that reads every sample, +//! and `copyFromTexture:toBuffer:` back. So record mode **runs** these cases on the oracle, and the +//! recordings hold Metal's own numbers on an Apple M3 Max, macOS 27.0.1. Nothing is carried. //! //! **One case per row**, as the multisample fill family does, so a sample count the venue does not //! render stops that row alone and the suite counts it diff --git a/crates/metal2vulkan-conformance/src/cases/compressed_decode.rs b/crates/metal2vulkan-conformance/src/cases/compressed_decode.rs index cdd740295..40b6c58e5 100644 --- a/crates/metal2vulkan-conformance/src/cases/compressed_decode.rs +++ b/crates/metal2vulkan-conformance/src/cases/compressed_decode.rs @@ -196,7 +196,7 @@ pub struct CompressedDecode { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()) .map(|at| CompressedDecode { at }) diff --git a/crates/metal2vulkan-conformance/src/cases/compressed_moves.rs b/crates/metal2vulkan-conformance/src/cases/compressed_moves.rs index 297572ab9..f15144e00 100644 --- a/crates/metal2vulkan-conformance/src/cases/compressed_moves.rs +++ b/crates/metal2vulkan-conformance/src/cases/compressed_moves.rs @@ -850,7 +850,7 @@ pub struct CompressedMoves { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()) .map(|at| CompressedMoves { at }) diff --git a/crates/metal2vulkan-conformance/src/cases/compressed_views.rs b/crates/metal2vulkan-conformance/src/cases/compressed_views.rs index fa37f9561..b38cfdb0c 100644 --- a/crates/metal2vulkan-conformance/src/cases/compressed_views.rs +++ b/crates/metal2vulkan-conformance/src/cases/compressed_views.rs @@ -366,7 +366,7 @@ pub struct CompressedViews { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()) .map(|at| CompressedViews { at }) diff --git a/crates/metal2vulkan-conformance/src/cases/etc_textures.rs b/crates/metal2vulkan-conformance/src/cases/etc_textures.rs index 756e72c11..4a3d5a53e 100644 --- a/crates/metal2vulkan-conformance/src/cases/etc_textures.rs +++ b/crates/metal2vulkan-conformance/src/cases/etc_textures.rs @@ -188,7 +188,7 @@ pub struct EtcTextures { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()).map(|at| EtcTextures { at }).collect() } diff --git a/crates/metal2vulkan-conformance/src/cases/pvrtc_cpu_order.rs b/crates/metal2vulkan-conformance/src/cases/pvrtc_cpu_order.rs index 468416395..26c038e63 100644 --- a/crates/metal2vulkan-conformance/src/cases/pvrtc_cpu_order.rs +++ b/crates/metal2vulkan-conformance/src/cases/pvrtc_cpu_order.rs @@ -253,7 +253,7 @@ pub struct PvrtcCpuOrder { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()).map(|at| PvrtcCpuOrder { at }).collect() } diff --git a/crates/metal2vulkan-conformance/src/cases/pvrtc_rows.rs b/crates/metal2vulkan-conformance/src/cases/pvrtc_rows.rs index 96b83912c..7435f2410 100644 --- a/crates/metal2vulkan-conformance/src/cases/pvrtc_rows.rs +++ b/crates/metal2vulkan-conformance/src/cases/pvrtc_rows.rs @@ -518,7 +518,7 @@ pub struct PvrtcRows { at: usize, } -/// Every format's case, in [`FORMATS`] order. +/// Every format's case, in `FORMATS` order. pub fn all() -> Vec { (0..FORMATS.len()).map(|at| PvrtcRows { at }).collect() }