mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 05:51:03 +01:00
Update screenshot tolerances (#8648)
This commit is contained in:
1 parent
ae900405e7
commit
8003fcbc4c
7 files changed
+10
-10
No files matched your search
@@ -391,7 +391,7 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
optional_features: wgpu::Features::default(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
comparisons: &[
|
||||
wgpu_test::ComparisonType::Mean(0.04), // Bounded by Intel 630 on Vk/Windows
|
||||
wgpu_test::ComparisonType::Mean(0.041), // Bounded by Apple A9
|
||||
],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
|
||||
@@ -546,6 +546,6 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
optional_features: wgpu::Features::default(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
// Bounded by lavapipe
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.005)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.014)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@@ -854,6 +854,6 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
wgpu::Backends::VULKAN,
|
||||
"V3D",
|
||||
)),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.02)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.026)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@@ -505,7 +505,7 @@ pub static TEST_ETC2: crate::framework::ExampleTestParams = crate::framework::Ex
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::TEXTURE_COMPRESSION_ETC2,
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.015)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.016)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
|
||||
@@ -518,6 +518,6 @@ pub static TEST_ASTC: crate::framework::ExampleTestParams = crate::framework::Ex
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::TEXTURE_COMPRESSION_ASTC,
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.016)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.017)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@@ -253,6 +253,6 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::default(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.03)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.04)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@@ -440,7 +440,7 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
optional_features: wgpu::Features::empty(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default()
|
||||
.instance_flags(wgpu::InstanceFlags::GPU_BASED_VALIDATION),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0001)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
|
||||
@@ -455,7 +455,7 @@ pub static TEST_UNIFORM: crate::framework::ExampleTestParams =
|
||||
optional_features: wgpu::Features::empty(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default()
|
||||
.instance_flags(wgpu::InstanceFlags::GPU_BASED_VALIDATION),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0001)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
|
||||
@@ -471,6 +471,6 @@ pub static TEST_NON_UNIFORM: crate::framework::ExampleTestParams =
|
||||
wgpu::Features::SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING,
|
||||
base_test_parameters: wgpu_test::TestParameters::default()
|
||||
.instance_flags(wgpu::InstanceFlags::GPU_BASED_VALIDATION),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0001)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@@ -842,6 +842,6 @@ pub static TEST: crate::framework::ExampleTestParams = crate::framework::Example
|
||||
behavior: wgpu_test::FailureBehavior::AssertFailure,
|
||||
..Default::default()
|
||||
}),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.01)],
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.018)], // Bounded by Apple A9
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
Reference in new issue
Block a user