Remove expected failure on AMD/DX12 from msaa example (#4729)

* Remove expected failure on AMD/DX12 from msaa example

* rem import
This commit is contained in:
Teodor Tanasoaia 2023-11-20 14:32:53 +01:00 committed by GitHub
parent 6786548d1e
commit 16ec5b00fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,6 @@ use std::{borrow::Cow, iter};
use bytemuck::{Pod, Zeroable}; use bytemuck::{Pod, Zeroable};
use wgpu::util::DeviceExt; use wgpu::util::DeviceExt;
#[cfg(test)]
use wgpu_test::FailureCase;
use winit::{ use winit::{
event::{ElementState, KeyEvent, WindowEvent}, event::{ElementState, KeyEvent, WindowEvent},
keyboard::{Key, NamedKey}, keyboard::{Key, NamedKey},
@ -329,13 +327,7 @@ static TEST: wgpu_example::framework::ExampleTestParams =
width: 1024, width: 1024,
height: 768, height: 768,
optional_features: wgpu::Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES, optional_features: wgpu::Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES,
base_test_parameters: wgpu_test::TestParameters::default() 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()
}),
// There's a lot of natural variance so we check the weighted median too to differentiate // There's a lot of natural variance so we check the weighted median too to differentiate
// real failures from variance. // real failures from variance.
comparisons: &[ comparisons: &[