Skip to content

Commit

Permalink
Enable write_texture_subset_2d test for DX12 now that it passes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzxporter committed Jan 4, 2024
1 parent 5596e0f commit a3577f2
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/tests/write_texture.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
//! Tests for texture copy
use wgpu_test::{gpu_test, FailureCase, GpuTestConfiguration, TestParameters};
use wgpu_test::{gpu_test, GpuTestConfiguration};

#[gpu_test]
static WRITE_TEXTURE_SUBSET_2D: GpuTestConfiguration = GpuTestConfiguration::new()
.parameters(
TestParameters::default()
// This just totally removes the device due to invalid api call.
//
// https://github.com/gfx-rs/wgpu/issues/3072
.expect_fail(FailureCase::backend(wgpu::Backends::DX12)),
)
.run_sync(|ctx| {
static WRITE_TEXTURE_SUBSET_2D: GpuTestConfiguration =
GpuTestConfiguration::new().run_sync(|ctx| {
let size = 256;

let tex = ctx.device.create_texture(&wgpu::TextureDescriptor {
Expand Down

0 comments on commit a3577f2

Please sign in to comment.