Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Jan 14, 2024
1 parent 8734e03 commit 316f0e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wgpu/src/backend/wgpu_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3127,15 +3127,15 @@ impl crate::Context for ContextWgpuCore {
}
});

let tlas = tlas
.into_iter()
.map(|e: crate::ray_tracing::ContextTlasBuildEntry<ContextWgpuCore>| {
let tlas = tlas.into_iter().map(
|e: crate::ray_tracing::ContextTlasBuildEntry<ContextWgpuCore>| {
wgc::ray_tracing::TlasBuildEntry {
tlas_id: e.tlas_id,
instance_buffer_id: e.instance_buffer_id,
instance_count: e.instance_count,
}
});
},
);

if let Err(cause) = wgc::gfx_select!(encoder => global.command_encoder_build_acceleration_structures_unsafe_tlas(
*encoder,
Expand Down

0 comments on commit 316f0e2

Please sign in to comment.