mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fix backend_failure plurality
This commit is contained in:
@@ -472,7 +472,7 @@ fn skybox() {
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::default(),
|
||||
base_test_parameters: framework::test_common::TestParameters::default()
|
||||
.backend_failures(wgpu::Backends::VULKAN | wgpu::Backends::GL),
|
||||
.backend_failure(wgpu::Backends::VULKAN | wgpu::Backends::GL),
|
||||
tollerance: 2,
|
||||
max_outliers: 3,
|
||||
});
|
||||
|
||||
@@ -131,7 +131,7 @@ impl TestParameters {
|
||||
}
|
||||
|
||||
/// Mark the test as always failing on a specific backend, equivilant to specific_failure(backend, None, None)
|
||||
pub fn backend_failures(mut self, backends: wgpu::Backends) -> Self {
|
||||
pub fn backend_failure(mut self, backends: wgpu::Backends) -> Self {
|
||||
self.failures.push((Some(backends), None, None, false));
|
||||
self
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user