Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ComfyFluffy committed Nov 29, 2024
1 parent 4b908ab commit a6a8739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions examples/triangle-raytracing-auto/scene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ fn window_size_dependent_setup(
/// A helper function to build a acceleration structure and wait for its completion.
/// # SAFETY
/// - If you are referencing a bottom-level acceleration structure in a top-level acceleration
/// structure,
/// you must ensure that the bottom-level acceleration structure is kept alive.
/// structure, you must ensure that the bottom-level acceleration structure is kept alive.
unsafe fn build_acceleration_structure_common(
geometries: AccelerationStructureGeometries,
primitive_count: u32,
Expand Down
3 changes: 1 addition & 2 deletions vulkano/src/pipeline/ray_tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,9 +894,8 @@ fn copy_shader_handles(

#[cfg(test)]
mod tests {
use crate::device::ShaderGroupHandlesData;

use super::*;
use crate::device::ShaderGroupHandlesData;

#[test]
fn test_copy_shader_handles_single_raygen() {
Expand Down

0 comments on commit a6a8739

Please sign in to comment.