Skip to content

Commit

Permalink
[test] allow WARP to run the zero-init workgroup memory test
Browse files Browse the repository at this point in the history
I pinpointed this to 438d639 (gfx-rs#3512).
I'm not sure why I didn't remove this one in 30064ea (gfx-rs#3515) as well, maybe I thought it was still failing due to early frees.
  • Loading branch information
teoxoy committed Jul 16, 2024
1 parent 8a7b9c6 commit c74e101
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/tests/shader/zero_init_workgroup_mem.rs
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
use std::num::NonZeroU64;

use wgpu::{
include_wgsl, Backends, BindGroupDescriptor, BindGroupEntry, BindGroupLayoutDescriptor,
include_wgsl, BindGroupDescriptor, BindGroupEntry, BindGroupLayoutDescriptor,
BindGroupLayoutEntry, BindingResource, BindingType, BufferBinding, BufferBindingType,
BufferDescriptor, BufferUsages, CommandEncoderDescriptor, ComputePassDescriptor,
ComputePipelineDescriptor, DownlevelFlags, Limits, Maintain, MapMode, PipelineLayoutDescriptor,
ShaderStages,
};

use wgpu_test::{gpu_test, FailureCase, GpuTestConfiguration, TestParameters};
use wgpu_test::{gpu_test, GpuTestConfiguration, TestParameters};

#[gpu_test]
static ZERO_INIT_WORKGROUP_MEMORY: GpuTestConfiguration = GpuTestConfiguration::new()
.parameters(
TestParameters::default()
.downlevel_flags(DownlevelFlags::COMPUTE_SHADERS)
.limits(Limits::downlevel_defaults())
// remove once we get to https://github.com/gfx-rs/wgpu/issues/3193
.skip(FailureCase {
backends: Some(Backends::DX12),
vendor: Some(5140),
adapter: Some("Microsoft Basic Render Driver"),
..FailureCase::default()
}),
.limits(Limits::downlevel_defaults()),
)
.run_async(|ctx| async move {
let bgl = ctx
Expand Down

0 comments on commit c74e101

Please sign in to comment.