Skip to content

Commit

Permalink
chore(dx12): satisfy clippy::manual_bits
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Sep 3, 2024
1 parent c2bb774 commit b0f9713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ struct PassState {

#[test]
fn test_dirty_mask() {
assert_eq!(MAX_ROOT_ELEMENTS, mem::size_of::<u64>() * 8);
assert_eq!(MAX_ROOT_ELEMENTS, u64::BITS as usize);
}

impl PassState {
Expand Down

0 comments on commit b0f9713

Please sign in to comment.