Tests: ordered_renders passes the device it has, not a borrow of it
clippy's needless_borrow under --cfg m2v_gpu (m3-max-21371): the queue's device is already a reference. Verified: cargo fmt; clippy gpucfg follows.
This commit is contained in:
1 parent
edd98b4064
commit
ac748a0642
1 file changed
+1
-1
@@ -95,7 +95,7 @@ fn case(queue: &CommandQueue, what: &str, options: ResourceOptions, bytes: &[u8]
|
||||
let after = device.work_counts();
|
||||
let shadows = after.shadowed_textures - before.shadowed_textures;
|
||||
let kept = after.kept_padding_aliases - before.kept_padding_aliases;
|
||||
let verdicts = verdicts(&device);
|
||||
let verdicts = verdicts(device);
|
||||
println!(
|
||||
"{TEST} on {}: {what}: {placement:?}; {shadows} shadow(s), {kept} kept padding \
|
||||
alias(es) ({reads_kept} for one that only reads); renders over pooled memory \
|
||||
|
||||
Reference in new issue
Block a user