mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
Fix backend_failure plurality
This commit is contained in:
1 parent
6c79b71d87
commit
fc03160d19
2 files changed
+2
-2
No files matched your search
@@ -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