From 5d1c370ca5f317d9f6ecb25f19871ff86b5e60a7 Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:12:55 +0100 Subject: [PATCH 1/2] Remove expected failure on AMD/DX12 from msaa example --- examples/msaa-line/src/main.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/msaa-line/src/main.rs b/examples/msaa-line/src/main.rs index 9c6dddcfd9..2dc44e9166 100644 --- a/examples/msaa-line/src/main.rs +++ b/examples/msaa-line/src/main.rs @@ -329,13 +329,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: &[ From bd3b955cffac185d1bf4aa62c0709542796e6e4b Mon Sep 17 00:00:00 2001 From: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:16:05 +0100 Subject: [PATCH 2/2] rem import --- examples/msaa-line/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/msaa-line/src/main.rs b/examples/msaa-line/src/main.rs index 2dc44e9166..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},