Skip to content

Commit

Permalink
Fix clippy::manual_div_ceil lints (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Feb 10, 2025
1 parent 9a75a7a commit 4d8e35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vello_encoding/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ impl WorkgroupCounts {
let clip_reduce_wgs = n_clips.saturating_sub(1) / CLIP_REDUCE_WG;
let clip_wgs = n_clips.div_ceil(CLIP_REDUCE_WG);
let path_wgs = n_paths.div_ceil(PATH_BBOX_WG);
let width_in_bins = (width_in_tiles + 15) / 16;
let height_in_bins = (height_in_tiles + 15) / 16;
let width_in_bins = width_in_tiles.div_ceil(16);
let height_in_bins = height_in_tiles.div_ceil(16);
Self {
use_large_path_scan,
path_reduce: (path_tag_wgs, 1, 1),
Expand Down

0 comments on commit 4d8e35d

Please sign in to comment.