From ab281552dbebe4254e967b15357627d93ab605cb Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 03:08:36 -0800 Subject: [PATCH] RUNTIME_VERSION 2009 and the runtime-sources pin for the predicted plain half arm kept in a key's general form What: the two commits before this one (smallfix2 items 4 and 1, steelbrain/smallfix2 0c4c87e6b0). PlainHalfTexels is no longer a general-form constant: the predicted key is its own general form, so a half-converting pipeline creation on MoltenVK makes one pipeline, not a predicted one plus a general form that no draw takes. A BC/ASTC draw still takes a pipeline at once (its general form is the predicted key); a YCbCr-on-grid-8192 draw makes its own key at the draw. And a test-only fix: dirty_pages_device's loaded-area test fails at once when its pass panics. RUNTIME_VERSION 2008 -> 2009; the pin follows. Why: render-then-sample-magnified-{nearest,linear} made a general-form pipeline no draw took (conformance cost.rs named it an open bug); the dirty-pages test hung instead of failing on the XTX. Verified (smallfix2): M3 (13511/13518) magnified-nearest and -linear creation_pipelines_made 2 against the record's 3, drawn 2 against 2, both in order and alone; whole-set conformance replay exit 0, exactly the expected open gaps; 77 touched tests under m2v_gpu; um790 clippy; tests::general_form fails with the old residual.rs (negative control). XTX (13517): with a panic injected the old test ran until the 94.7 s timeout, the new one failed in 0.21 s; the real test passes in 0.57 s. Here: pin-compute, api-signatures --check, refusal surface unchanged. The cost records still read 3 made until the next whole-set re-bless. --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 9ceee5861..c5ad6938d 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -f947220c4dfd5a2d07514459aca19c4978c6ef4729820e873b153b36aca2c29b +9d6d307c46e25922e2c4533609c81b2294c2e20e937532e963f249c8a2cb5239 diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index fd6f26ffb..c8a52789b 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 499; /// changes no behaviour, and then updates that hash alone with the commit saying why, or changes /// behaviour and also bumps this version. The commit that bumps it says what changed; this comment /// keeps no history. -pub const RUNTIME_VERSION: u32 = 2008; +pub const RUNTIME_VERSION: u32 = 2009; /// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex, /// of the manifest, the build script, and exactly the files the crate roots' module tree compiles