From 80c44684920d0f6fbbf56a01883e172530fdc4bb Mon Sep 17 00:00:00 2001 From: Inner Daemons <85136135+inner-daemons@users.noreply.github.com> Date: Tue, 4 Nov 2025 14:34:58 -0600 Subject: [PATCH] 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 --- examples/features/src/mipmap/mod.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/examples/features/src/mipmap/mod.rs b/examples/features/src/mipmap/mod.rs index 67f4a01ff..108413ded 100644 --- a/examples/features/src/mipmap/mod.rs +++ b/examples/features/src/mipmap/mod.rs @@ -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::, };