From 1280705fd27890f044b6b2ab856a1e3a3d542e53 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 21 Nov 2026 13:49:26 -0800 Subject: [PATCH] Translator tests: the old render descriptor key takes the value the smaller profile gives The first commit of this branch drops 19 device-profile fields that nothing reads. The render descriptor key hashes the profile's fingerprint, so the key pinned for moltenvk-m3 moves: - the pin development holds (8ca94bca19, SEMANTICS 2263): ac15f365... - with the smaller profile: d4257e6b... The test's first assert pins the fixture's bytes, and it held, so neither the fixture nor any lowering changed. Verified: m3-max-64928 (msi-laptop) printed d4257e6b... as the key at 1fb65bf3ef, this commit's parent. --- crates/metal2vulkan/src/pipeline/compile/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan/src/pipeline/compile/tests.rs b/crates/metal2vulkan/src/pipeline/compile/tests.rs index a713e2ab0..a234c1bc4 100644 --- a/crates/metal2vulkan/src/pipeline/compile/tests.rs +++ b/crates/metal2vulkan/src/pipeline/compile/tests.rs @@ -1241,7 +1241,7 @@ fn the_old_render_descriptor_key_keeps_its_value() { let key = device("moltenvk-m3").render_descriptor_key(&d); let hex: String = key.digest().iter().map(|b| format!("{b:02x}")).collect(); assert_eq!( - hex, "ac15f3652a0851252c003f5500883b2d3e2fcc16cc1d6cfe1f222cf71610a297", + hex, "d4257e6b3addf149d09b5ec22de6f436a8eb4f9b0c02142a271967de7f81425b", "the old runtime's key of the descriptor" ); }