Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Sep 20, 2024
1 parent 5ced4e6 commit 093acad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/tests/ray_tracing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn execute(ctx: TestingContext) {
max_instances,
});

let mut tlas_package = rt::TlasPackage::new(tlas, max_instances);
let mut tlas_package = rt::TlasPackage::new(tlas);

for i in 0..2500 {
eprintln!("Setting TlasInstances in loop {}", i);
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/ray_tracing_use_after_free/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn execute(ctx: TestingContext) {
contents: &[0; mem::size_of::<[[f32; 3]; 3]>()],
usage: BufferUsages::BLAS_INPUT,
});
let mut tlas_package = TlasPackage::new(tlas, 1);
let mut tlas_package = TlasPackage::new(tlas);
*tlas_package.get_mut_single(0).unwrap() = Some(TlasInstance::new(
&blas,
[1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0],
Expand Down

0 comments on commit 093acad

Please sign in to comment.