Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mosure committed Oct 2, 2024
1 parent da70d8f commit 478e8ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bevy_gaussian_splatting"
description = "bevy gaussian splatting render pipeline plugin"
version = "2.4.0"
version = "2.4.1"
edition = "2021"
authors = ["mosure <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ pub struct ShaderDefines {

impl ShaderDefines {
pub fn max_tile_count(&self, count: usize) -> u32 {
(count as u32 + self.workgroup_entries_c - 1) / self.workgroup_entries_c
(count as u32).div_ceil(self.workgroup_entries_c)
}

pub fn sorting_status_counters_buffer_size(&self, count: usize) -> usize {
Expand Down

0 comments on commit 478e8ca

Please sign in to comment.