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.
This commit is contained in:
1 parent
3cb10fe276
commit
233275b457
1 file changed
+1
-1
@@ -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
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user