From 233275b45704008eb3301d308e34a9978d2f6be8 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 00:45:34 -0800 Subject: [PATCH] tiled_texture_device: the copied-in count's multiple through is_multiple_of The re-check of 3cb10fe276 (um790 m3-max-7583) found a third manual_is_multiple_of in the same device test (line 276) that the first lint run's output had not reached. --- crates/metal2vulkan-runtime/src/tests/tiled_texture_device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/metal2vulkan-runtime/src/tests/tiled_texture_device.rs b/crates/metal2vulkan-runtime/src/tests/tiled_texture_device.rs index 8dbfea0e2..6ea7477e2 100644 --- a/crates/metal2vulkan-runtime/src/tests/tiled_texture_device.rs +++ b/crates/metal2vulkan-runtime/src/tests/tiled_texture_device.rs @@ -273,7 +273,7 @@ fn cpu_writes_reach_the_first_level() { let after = rig.device.work_counts(); let copied_in = after.shadow_texels_copied_in - before.shadow_texels_copied_in; assert!( - copied_in > 0 && copied_in % (width * height) == 0, + copied_in > 0 && copied_in.is_multiple_of(width * height), "{case}: {copied_in} texels copied in, of a first level of {}", width * height );