From 24ae90feb3e2cfb57a8e0a1d7a9fd2ac87469eac Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 03:18:31 -0800 Subject: [PATCH] SEMANTICS_VERSION 2017 for an extended-range sample's filter note that follows the bound sampler word What: the three commits before this one (unknowns-491, steelbrain/unknowns-491 5f6a65c35c). An extended-range or padded sample through a runtime sampler slot (the slot's variant and the argument-buffer raw-element path) specializes BicubicFilterArithmetic on the bound sampler word (linear::filtering_word, as the YCbCr filter note does); the level blend tests the linear mip filter alone. A constexpr linear sampler keeps the note; a constexpr nearest one records none. No runtime code changed. SEMANTICS 2016 -> 2017 (the branch's 2016 met development's). Why: rgb10a2-srgb-samples announced bicubic-filter-arithmetic through a nearest sampler (an over-note, triage 491). Verified (unknowns-491): on the M3 (13478) the lanes 7/7, nearest samples announcing no bicubic and linear ones announcing it; lavapipe (13512) lanes 37/37, replay of the 20 sample cases exit 0 (the allowance on all 10 linear cases, no nearest case), negative controls (select.rs and linear.rs reverted) failing both new translator tests and the rgb10a2 lane, metal2vulkan suite 3428/3429 before the test-only fix 5f6a65c35c. Here: pin unchanged; refusal, conformance and Metal coverage generators unchanged; api-signatures --check clean. Owed: the 10 nearest cases' cost records still list the note until the whole-set re-bless. --- 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 c8a52789b..b5c07fe27 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 = 2016; +pub const SEMANTICS_VERSION: u32 = 2017; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another