mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-15 21:46:37 +00:00
* Waive the failures tracked by #7287 * Use full link to issue
This commit is contained in:
parent
424fde1622
commit
cd1e7e26c1
@ -428,6 +428,16 @@ pub fn main() {
|
||||
crate::framework::run::<Example>("texture-arrays");
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
fn test_parameters() -> wgpu_test::TestParameters {
|
||||
wgpu_test::TestParameters::default()
|
||||
// https://github.com/gfx-rs/wgpu/issues/7287
|
||||
.expect_fail(wgpu_test::FailureCase::backend_adapter(
|
||||
wgpu::Backends::METAL,
|
||||
"Apple M",
|
||||
))
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[wgpu_test::gpu_test]
|
||||
static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTestParams {
|
||||
@ -436,7 +446,7 @@ static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTest
|
||||
width: 1024,
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::empty(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
base_test_parameters: test_parameters(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@ -449,7 +459,7 @@ static TEST_UNIFORM: crate::framework::ExampleTestParams = crate::framework::Exa
|
||||
width: 1024,
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::empty(),
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
base_test_parameters: test_parameters(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
@ -464,7 +474,7 @@ static TEST_NON_UNIFORM: crate::framework::ExampleTestParams =
|
||||
height: 768,
|
||||
optional_features:
|
||||
wgpu::Features::SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING,
|
||||
base_test_parameters: wgpu_test::TestParameters::default(),
|
||||
base_test_parameters: test_parameters(),
|
||||
comparisons: &[wgpu_test::ComparisonType::Mean(0.0)],
|
||||
_phantom: std::marker::PhantomData::<Example>,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user