From 1fb77c68da6fe5b20644c4725a710df5fc34faa0 Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Fri, 2 Jul 2021 00:57:55 -0400 Subject: [PATCH] Mark vk mipmap example as passing --- wgpu/examples/hello-compute/tests.rs | 2 +- wgpu/examples/mipmap/main.rs | 2 +- wgpu/tests/vertex_indices/mod.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wgpu/examples/hello-compute/tests.rs b/wgpu/examples/hello-compute/tests.rs index 2e2ceead65..89fab4bacb 100644 --- a/wgpu/examples/hello-compute/tests.rs +++ b/wgpu/examples/hello-compute/tests.rs @@ -74,7 +74,7 @@ fn test_compute_overflow() { #[test] fn test_multithreaded_compute() { initialize_test( - TestParameters::default().backend_failures(wgpu::Backends::GL), + TestParameters::default().backend_failure(wgpu::Backends::GL), |ctx| { use std::{sync::mpsc, thread, time::Duration}; diff --git a/wgpu/examples/mipmap/main.rs b/wgpu/examples/mipmap/main.rs index eb45157286..d084344fad 100644 --- a/wgpu/examples/mipmap/main.rs +++ b/wgpu/examples/mipmap/main.rs @@ -483,7 +483,7 @@ fn mipmap() { 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::GL), tolerance: 25, max_outliers: 3000, // Mipmap sampling is highly variant between impls. This is currently bounded by AMD on mac }); diff --git a/wgpu/tests/vertex_indices/mod.rs b/wgpu/tests/vertex_indices/mod.rs index bc82644ccd..e72b3a7f2b 100644 --- a/wgpu/tests/vertex_indices/mod.rs +++ b/wgpu/tests/vertex_indices/mod.rs @@ -143,7 +143,7 @@ fn draw_vertex_offset() { initialize_test( TestParameters::default() .test_features() - .backend_failures(wgpu::Backends::DX12 | wgpu::Backends::DX11), + .backend_failure(wgpu::Backends::DX12 | wgpu::Backends::DX11), |ctx| { pulling_common(ctx, &[0, 1, 2, 3, 4, 5], |cmb| { cmb.draw(0..3, 0..1); @@ -167,7 +167,7 @@ fn draw_instanced_offset() { initialize_test( TestParameters::default() .test_features() - .backend_failures(wgpu::Backends::DX12 | wgpu::Backends::DX11), + .backend_failure(wgpu::Backends::DX12 | wgpu::Backends::DX11), |ctx| { pulling_common(ctx, &[0, 1, 2, 3, 4, 5], |cmb| { cmb.draw(0..3, 0..1);