From 338803bb034ec593a2e843527eb7dcb2f2a344cc Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 23 Nov 2026 00:51:00 -0800 Subject: [PATCH] Translator: SEMANTICS_VERSION 2284 for the closed cell of an array of buffer pointers What: SEMANTICS_VERSION 2283 -> 2284. Why: a kernel that stores an entry buffer's pointer as a value into a thread's private array of device pointers was refused as Unsupported{Lowering(Access)} under the identity domains, because the array stayed an open cell. The provenance change before this one closes the cell in two shapes (an aggregate that stays a value; a whole-slot zero fill beside run-time-indexed accesses), so those functions now give modules under an unchanged key. Verified: - Translation census of the private corpus, every row at the current fingerprint, on runtime-floor and gate-lavapipe. Before (8ab24c9753, 2283; potluck job m3-max-70360): 17,214 rows; runtime-floor 15,352 translated, gate-lavapipe 15,589, 13 Lowering(Access) on each. After (this tree; m3-max-70379): 17,217 rows (3 new to the index); runtime-floor 15,361 translated, gate-lavapipe 15,598, 7 Lowering(Access) on each, defects 0 and failed 0 on both. The six functions of the two libraries this change targets translate on both profiles; the other seven rows keep Lowering(Access), another shape. Slowest row 813 ms (runtime-floor) and 823 ms (gate-lavapipe), peak resident 221 MB and 226 MB: within 20 s and 500 MiB. - Suites at this tree (m3-max-70381): metal2vulkan and metal2vulkan-air 3,354 of 3,355; the one red is the golden table, stale by 45 new cells (kernel_buffer_pointer_arrays' rows), 0 gone, 0 changed, re-blessed on development. Doctests 0 failed. - fmt, clippy (plain, --cfg m2v_gpu, --cfg m2v_cpu_icd) and workspace Rustdoc, rc 0 (m3-max-70382). - Earlier on the branch: red before (m3-max-70329), the two authored cases qualified on Metal (m3-max-70355) and matched on lavapipe (m3-max-70363). --- crates/metal2vulkan/src/cache/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index 236ab998e..5d6d7bb2c 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -60,7 +60,7 @@ mod tests; /// unchanged version, and its bless records the version. Independent of the crate's version and of /// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no /// history. -pub const SEMANTICS_VERSION: u32 = 2283; +pub const SEMANTICS_VERSION: u32 = 2284; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another