Update screenshot tolerances (#8648)

This commit is contained in:
Connor Fitzgerald 2025-12-04 07:10:17 -05:00 committed by GitHub
parent ae900405e7
commit 8003fcbc4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 10 additions and 10 deletions

View File

@ -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>,
};

View File

@ -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>,
};

View File

@ -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>,
};

View File

@ -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>,
};

View File

@ -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>,
};

View File

@ -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>,
};

View File

@ -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>,
};