From bbacaa9a7fcfacb861f2dc90c1da5f15d479b4f5 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Fri, 4 Dec 2026 20:43:54 -0800 Subject: [PATCH] Runtime tests: the 4:2:2 device test prints its bound and address dispatches Which buffer form the device took for the decoding kernels (rule 2's bound buffers or their addresses) goes beside the chroma counters in each card's lines. --- crates/metal2vulkan-runtime/src/tests/chroma_pairs.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/crates/metal2vulkan-runtime/src/tests/chroma_pairs.rs b/crates/metal2vulkan-runtime/src/tests/chroma_pairs.rs index 3f1b48312..61b59dae1 100644 --- a/crates/metal2vulkan-runtime/src/tests/chroma_pairs.rs +++ b/crates/metal2vulkan-runtime/src/tests/chroma_pairs.rs @@ -439,7 +439,12 @@ mod on_device { ); let dispatches = (8 * FORMATS.len() * CASES.len()) as u64; assert_eq!(launches, dispatches, "{name}: the dispatches that ran them"); - println!("{name}: chroma_contents +{contents}, chroma_launches +{launches}"); + let bound = after.bound_dispatches - before.bound_dispatches; + let address = after.address_dispatches - before.address_dispatches; + println!( + "{name}: chroma_contents +{contents}, chroma_launches +{launches}, \ + bound_dispatches +{bound}, address_dispatches +{address}" + ); }); }