Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nical committed Jul 24, 2024
1 parent 55a726c commit 974140a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion benches/benches/renderpass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,12 @@ impl RenderpassState {
}
}

fn run_subpass(&self, pass_number: usize, total_passes: usize, draw_count: usize) -> wgpu::CommandBuffer {
fn run_subpass(
&self,
pass_number: usize,
total_passes: usize,
draw_count: usize,
) -> wgpu::CommandBuffer {
profiling::scope!("Renderpass", &format!("Pass {pass_number}/{total_passes}"));

let draws_per_pass = draw_count / total_passes;
Expand Down

0 comments on commit 974140a

Please sign in to comment.