From f732f769ef02e910ceeefae77ac9a677cc242521 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 22 Nov 2026 23:17:32 -0800 Subject: [PATCH] Test: the storage-cube test pushes the integer-channel word of its 32-bit images The plan of the storage-cube kernel under the identity domains carries PushField::TextureIntegerChannels for each of its two uint storage slots (a slot without a format), which the test's push loop did not fill and panicked on (job m3-max-70068, msi, at f521ab4c14). The images are 32-bit channels, so the word is 0 and each lane stores as written. --- crates/metal2vulkan/src/tests/engine_identity.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/metal2vulkan/src/tests/engine_identity.rs b/crates/metal2vulkan/src/tests/engine_identity.rs index da59b85c1..fe29427ec 100644 --- a/crates/metal2vulkan/src/tests/engine_identity.rs +++ b/crates/metal2vulkan/src/tests/engine_identity.rs @@ -872,6 +872,10 @@ fn a_storage_cube_written_by_face_is_the_2d_array_element_of_its_faces() { let region = region_bytes([0; 3], L, L).expect("packs"); push[o..o + 32].copy_from_slice(®ion); } + // 0: the images' channels are 32-bit, so each lane stores as written. + PushField::TextureIntegerChannels(_) => { + push[o..o + 4].copy_from_slice(&0u32.to_le_bytes()) + } other => panic!("{stem}: unexpected push field {other:?}"), } }