From 612f5dcfba5292cc563d06913e30e8fe85b459f9 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 9 Nov 2026 05:05:54 -0800 Subject: [PATCH] SEMANTICS_VERSION 2002 for a front_facing argument held in an integer nvreds 0950743006: an older front end's i8 [[front_facing]] argument (i8 + trunc to i1, seen in an iOS-simulator library from metalfe-32023.884) now translates: the Bool builtin is OpSelect'ed to 1/0 in the argument's integer form. Inputs that were refused now translate, so SEMANTICS 2001 -> 2002. Golden hashes expected unchanged (no committed fixture has an integer front_facing; not checked here). Verified by nvreds on gem10 (debug): clippy -D warnings for metal2vulkan and metal2vulkan-air, all targets/features; 100/100 tests over front_facing, stage_io, engine_fragment, air_abi, engine_line_band (11689); negative control 4dd15ecbd1 fails the new engine_front_facing_byte test with the reported refusal (11690). Here: signatures --check and refusal surface unchanged. --- 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 446f8319c..3beb9c47d 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 = 2001; +pub const SEMANTICS_VERSION: u32 = 2002; /// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the /// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another