Try to fix occasional CI failures caused by #8345 (mipmap-query) (#8472)

* Try to fix Occasional CI failures on wgpu-examples [Executed] [Vulkan/llvmpipe (LLVM 18.1.3, 256 bits)/0] mipmap-query
Fixes #8345
This commit is contained in:
Inner Daemons 2025-11-04 14:34:58 -06:00 committed by GitHub
parent 2a58599dc4
commit 80c4468492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -530,6 +530,14 @@ pub static TEST_QUERY: crate::framework::ExampleTestParams = crate::framework::E
height: 768,
optional_features: QUERY_FEATURES,
base_test_parameters: wgpu_test::TestParameters::default(),
comparisons: &[wgpu_test::ComparisonType::Mean(0.025)],
// Somehow, this test on CI lavapipe reasonably often gets error of 0.025341, significantly higher
// than the comparison we usually do with mean 0.005. This only happens when the query is used.
comparisons: &[
wgpu_test::ComparisonType::Mean(0.03),
wgpu_test::ComparisonType::Percentile {
percentile: 0.99,
threshold: 0.1,
},
],
_phantom: std::marker::PhantomData::<Example>,
};