Skip to content

Commit

Permalink
Remove expected failure on AMD/DX12 from msaa example (#4729)
Browse files Browse the repository at this point in the history
* Remove expected failure on AMD/DX12 from msaa example

* rem import
  • Loading branch information
teoxoy authored Nov 20, 2023
1 parent 6786548 commit 16ec5b0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions examples/msaa-line/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down Expand Up @@ -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: &[
Expand Down

0 comments on commit 16ec5b0

Please sign in to comment.