Skip to content

Commit

Permalink
Increase max_outliers on wgpu water example reftest. (#2767)
Browse files Browse the repository at this point in the history
The example says:

    Using AMD RADV POLARIS12 (Vulkan)

The test says:

    thread 'water' panicked at 'Image data mismatch! Outlier count 464 over limit 460. Max difference 213', wgpu/examples/water/../../tests/common/image.rs:134:13

I checked the `water-difference.png` file, and it's just a few dots
here and there. The example seems to run fine.
  • Loading branch information
jimblandy authored Jun 14, 2022
1 parent a880eb9 commit fd22c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/examples/water/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,6 @@ fn water() {
.downlevel_flags(wgpu::DownlevelFlags::READ_ONLY_DEPTH_STENCIL)
.specific_failure(Some(wgpu::Backends::DX12), None, Some("Basic"), false), // WARP has a bug https://github.com/gfx-rs/wgpu/issues/1730
tolerance: 5,
max_outliers: 460, // bounded by DX12, then rpi4 on vk
max_outliers: 470, // bounded by DX12, then AMD Radeon Polaris12 on vk linux
});
}

0 comments on commit fd22c7f

Please sign in to comment.