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.
This commit is contained in:
Anees Iqbal committed 2026-11-20 15:31:59 -08:00
1 parent 2242802b2a
commit 569463fc0d
2 files changed
+2 -2

No files matched your search

@@ -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"
);
}
+1 -1
View File
@@ -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)) => {