Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Dec 12, 2023
1 parent 2f25773 commit 74ce414
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/src/ray_cube_compute/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ pub fn main() {
#[cfg(test)]
#[wgpu_test::gpu_test]
static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTestParams {
name: "ray_cube_compute",
image_path: "/examples/ray_cube_compute/screenshot.png",
width: 1024,
height: 768,
Expand All @@ -628,4 +629,5 @@ static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTest
required_downlevel_caps: <Example as crate::framework::Example>::required_downlevel_capabilities(),
},
comparisons: &[wgpu_test::ComparisonType::Mean(0.02)],
_phantom: std::marker::PhantomData::<Example>,
};
2 changes: 2 additions & 0 deletions examples/src/ray_cube_fragment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ pub fn main() {
#[cfg(test)]
#[wgpu_test::gpu_test]
static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTestParams {
name: "ray_cube_fragment",
image_path: "/examples/ray_cube_fragment/screenshot.png",
width: 1024,
height: 768,
Expand All @@ -394,4 +395,5 @@ static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTest
required_downlevel_caps: <Example as crate::framework::Example>::required_downlevel_capabilities(),
},
comparisons: &[wgpu_test::ComparisonType::Mean(0.02)],
_phantom: std::marker::PhantomData::<Example>,
};
2 changes: 2 additions & 0 deletions examples/src/ray_scene/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ pub fn main() {
#[cfg(test)]
#[wgpu_test::gpu_test]
static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTestParams {
name: "ray_cube_fragment",
image_path: "/examples/ray_cube_fragment/screenshot.png",
width: 1024,
height: 768,
Expand All @@ -566,4 +567,5 @@ static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTest
required_downlevel_caps: <Example as crate::framework::Example>::required_downlevel_capabilities(),
},
comparisons: &[wgpu_test::ComparisonType::Mean(0.02)],
_phantom: std::marker::PhantomData::<Example>,
};

0 comments on commit 74ce414

Please sign in to comment.