Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Feb 14, 2024
1 parent 6159f1b commit d390ba8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ where
self.unwritten_element_range.end
}

/// Copies all all so far written data to the first layer of a 2d texture.
/// Copies all so far written data to the first layer of a 2d texture.
///
/// Assumes that the buffer consists of as-tightly-packed-as-possible rows of data.
/// (taking into account required padding as specified by [`wgpu::COPY_BYTES_PER_ROW_ALIGNMENT`])
Expand Down
2 changes: 1 addition & 1 deletion crates/re_renderer/src/renderer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn data_texture_size(
.expect("Depth/stencil formats are not supported as data textures");

// Our data textures are usually accessed in a linear fashion, so ideally we'd be using a 1D texture.
// However, 1D textures are very limited in size on many platforms, we we have to use 2D textures instead.
// However, 1D textures are very limited in size on many platforms, we have to use 2D textures instead.
// 2D textures perform a lot better when their dimensions are powers of two, so we'll strictly stick to that even
// when it seems to cause memory overhead.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ pub fn count_instances_in_archetype_views<
) -> usize {
assert_eq!(A::all_components().len(), N);

// TODO(andreas/cmc): Use cached code path for this.
// TODO(andreas): Use cached code path for this.
// This is right now a bit harder to do and requires knowing all queried components.
// The only thing we really want to pass here are the POV components.

Expand Down

0 comments on commit d390ba8

Please sign in to comment.