From 4e75e5f95b1d2dc653cc862dccaf151e4b2a6614 Mon Sep 17 00:00:00 2001 From: dtzxporter Date: Thu, 4 Jan 2024 18:22:51 -0500 Subject: [PATCH] Enable `write_texture_subset_2d` test for DX12 now that it passes. --- tests/tests/write_texture.rs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/tests/tests/write_texture.rs b/tests/tests/write_texture.rs index 967d76be8c..c6f431737c 100644 --- a/tests/tests/write_texture.rs +++ b/tests/tests/write_texture.rs @@ -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 {