mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Fix limits for rpi on vk
This commit is contained in:
@@ -328,6 +328,6 @@ fn boids() {
|
||||
base_test_parameters: framework::test_common::TestParameters::default()
|
||||
.downlevel_flags(wgpu::DownlevelFlags::COMPUTE_SHADERS),
|
||||
tolerance: 0,
|
||||
max_outliers: 700, // Currently bounded by rpi4
|
||||
max_outliers: 1000, // Currently bounded by rpi4
|
||||
});
|
||||
}
|
||||
|
||||
@@ -402,6 +402,6 @@ fn cube_lines() {
|
||||
optional_features: wgpu::Features::NON_FILL_POLYGON_MODE,
|
||||
base_test_parameters: framework::test_common::TestParameters::default(),
|
||||
tolerance: 2,
|
||||
max_outliers: 500, // Bounded by rpi4 & intel 620 on GL
|
||||
max_outliers: 600, // Bounded by rpi4 on GL
|
||||
});
|
||||
}
|
||||
|
||||
@@ -9,12 +9,7 @@ use common::{initialize_test, TestParameters};
|
||||
#[test]
|
||||
fn test_compute_1() {
|
||||
initialize_test(
|
||||
TestParameters::default().specific_failure(
|
||||
Some(wgpu::Backends::GL),
|
||||
None,
|
||||
Some("V3D"),
|
||||
false,
|
||||
),
|
||||
TestParameters::default().specific_failure(None, None, Some("V3D"), false),
|
||||
|ctx| {
|
||||
let input = &[1, 2, 3, 4];
|
||||
|
||||
@@ -31,12 +26,7 @@ fn test_compute_1() {
|
||||
#[test]
|
||||
fn test_compute_2() {
|
||||
initialize_test(
|
||||
TestParameters::default().specific_failure(
|
||||
Some(wgpu::Backends::GL),
|
||||
None,
|
||||
Some("V3D"),
|
||||
false,
|
||||
),
|
||||
TestParameters::default().specific_failure(None, None, Some("V3D"), false),
|
||||
|ctx| {
|
||||
let input = &[5, 23, 10, 9];
|
||||
|
||||
@@ -53,12 +43,7 @@ fn test_compute_2() {
|
||||
#[test]
|
||||
fn test_compute_overflow() {
|
||||
initialize_test(
|
||||
TestParameters::default().specific_failure(
|
||||
Some(wgpu::Backends::GL),
|
||||
None,
|
||||
Some("V3D"),
|
||||
false,
|
||||
),
|
||||
TestParameters::default().specific_failure(None, None, Some("V3D"), false),
|
||||
|ctx| {
|
||||
let input = &[77031, 837799, 8400511, 63728127];
|
||||
pollster::block_on(assert_execute_gpu(
|
||||
@@ -74,7 +59,9 @@ fn test_compute_overflow() {
|
||||
#[test]
|
||||
fn test_multithreaded_compute() {
|
||||
initialize_test(
|
||||
TestParameters::default().backend_failure(wgpu::Backends::GL),
|
||||
TestParameters::default()
|
||||
.backend_failure(wgpu::Backends::GL)
|
||||
.specific_failure(Some(wgpu::Backends::VULKAN), None, Some("V3D"), false),
|
||||
|ctx| {
|
||||
use std::{sync::mpsc, thread, time::Duration};
|
||||
|
||||
|
||||
@@ -830,7 +830,8 @@ fn shadow() {
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::default(),
|
||||
base_test_parameters: framework::test_common::TestParameters::default()
|
||||
.downlevel_flags(wgpu::DownlevelFlags::COMPARISON_SAMPLERS),
|
||||
.downlevel_flags(wgpu::DownlevelFlags::COMPARISON_SAMPLERS)
|
||||
.specific_failure(Some(wgpu::Backends::VULKAN), None, Some("V3D"), false), // rpi4 on VK doesn't work: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3916
|
||||
tolerance: 2,
|
||||
max_outliers: 500, // bounded by rpi4
|
||||
});
|
||||
|
||||
@@ -512,7 +512,7 @@ fn skybox_astc() {
|
||||
height: 768,
|
||||
optional_features: wgpu::Features::TEXTURE_COMPRESSION_ASTC_LDR,
|
||||
base_test_parameters: framework::test_common::TestParameters::default(),
|
||||
tolerance: 5, // TODO
|
||||
max_outliers: 10, // TODO
|
||||
tolerance: 5,
|
||||
max_outliers: 300, // Bounded by rp4 on vk
|
||||
});
|
||||
}
|
||||
|
||||
@@ -800,6 +800,6 @@ fn water() {
|
||||
base_test_parameters: framework::test_common::TestParameters::default()
|
||||
.downlevel_flags(wgpu::DownlevelFlags::READ_ONLY_DEPTH_STENCIL),
|
||||
tolerance: 5,
|
||||
max_outliers: 10,
|
||||
max_outliers: 300, // bounded by rpi4 on vk
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user