From 569463fc0d3488ef725d10b4767a6c8e1eb59afe Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 20 Nov 2026 15:31:59 -0800 Subject: [PATCH] Fix forward of 60528: the old render key at SEMANTICS 2221, and a needless borrow - The render descriptor key hashes SEMANTICS_VERSION, which the mesh commit sets to 2221, so the pinned key of the fixture's descriptor moves from 746e4df9... (development's, at 2220) to 55e3ff73.... That is the value m3-max-60528 printed at 2242802b2a. - engine_mesh's pipeline refusal test passes its stage closure, a Copy, by value (clippy::needless_borrows_for_generic_args). Verified: m3-max-60528 at 2242802b2a: fmt and doc green, and the focused tests passed 149 of 150 (engine_mesh, status, mechanism, api_tests, link, owned_divisions, graphics, codec); the one failure was the key. The three clippy legs failed on the borrow alone. The next job reruns both. --- crates/metal2vulkan/src/pipeline/compile/tests.rs | 2 +- crates/metal2vulkan/src/tests/engine_mesh.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/metal2vulkan/src/pipeline/compile/tests.rs b/crates/metal2vulkan/src/pipeline/compile/tests.rs index c2eaf6fbd..e84b39594 100644 --- a/crates/metal2vulkan/src/pipeline/compile/tests.rs +++ b/crates/metal2vulkan/src/pipeline/compile/tests.rs @@ -1273,7 +1273,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, "746e4df9d45d9c936cdd9e51cf685bd3d2fb85f21e48e50904c21d611eca45ad", + hex, "55e3ff73567f9a280bbcd1071ece6558ab002e3518dfaa9c4217b077f7c11caa", "the old runtime's key of the descriptor" ); } diff --git a/crates/metal2vulkan/src/tests/engine_mesh.rs b/crates/metal2vulkan/src/tests/engine_mesh.rs index 968dc1dce..4dbb0908c 100644 --- a/crates/metal2vulkan/src/tests/engine_mesh.rs +++ b/crates/metal2vulkan/src/tests/engine_mesh.rs @@ -803,7 +803,7 @@ fn without_the_extension_a_mesh_pipeline_is_refused() { Some(_) => "mesh_draws_mesh", None => "mesh_draws_grid", })); - d.object = object.map(&stage); + d.object = object.map(stage); d.rasterization_enabled = false; match dev.compile_mesh_pipeline(&d, &Budget::standard()) { Err(Error::Unsupported(u)) => {