mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
[test] allow WARP to run the zero-init workgroup memory test (#5968)
I pinpointed this to438d6394ef
(https://github.com/gfx-rs/wgpu/pull/3512). I'm not sure why I didn't remove this one in30064ead9f
(https://github.com/gfx-rs/wgpu/pull/3515) as well, maybe I thought it was still failing due to early frees.
This commit is contained in:
parent
167f005c17
commit
a3d2d31d3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user