From 16ec5b00fc50c688a987effed9f470db58b2389e Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Mon, 20 Nov 2023 14:32:53 +0100 Subject: [PATCH] Remove expected failure on AMD/DX12 from msaa example (#4729) * Remove expected failure on AMD/DX12 from msaa example * rem import --- examples/msaa-line/src/main.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/msaa-line/src/main.rs b/examples/msaa-line/src/main.rs index 9c6dddcfd9..c9ab36b4e8 100644 --- a/examples/msaa-line/src/main.rs +++ b/examples/msaa-line/src/main.rs @@ -12,8 +12,6 @@ use std::{borrow::Cow, iter}; use bytemuck::{Pod, Zeroable}; use wgpu::util::DeviceExt; -#[cfg(test)] -use wgpu_test::FailureCase; use winit::{ event::{ElementState, KeyEvent, WindowEvent}, keyboard::{Key, NamedKey}, @@ -329,13 +327,7 @@ static TEST: wgpu_example::framework::ExampleTestParams = width: 1024, height: 768, optional_features: wgpu::Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES, - base_test_parameters: wgpu_test::TestParameters::default() - // AMD seems to render nothing on DX12 https://github.com/gfx-rs/wgpu/issues/3838 - .expect_fail(FailureCase { - backends: Some(wgpu::Backends::DX12), - vendor: Some(0x1002), - ..FailureCase::default() - }), + base_test_parameters: wgpu_test::TestParameters::default(), // There's a lot of natural variance so we check the weighted median too to differentiate // real failures from variance. comparisons: &[