From b7486bdcfcc458c7af067c05ac3e63714d871d91 Mon Sep 17 00:00:00 2001 From: Vecvec Date: Sun, 10 Dec 2023 18:41:43 +1300 Subject: [PATCH] fix issues in ray-traced-triangle example --- wgpu-hal/examples/ray-traced-triangle/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/wgpu-hal/examples/ray-traced-triangle/main.rs b/wgpu-hal/examples/ray-traced-triangle/main.rs index 7202b35bee..6454cb8998 100644 --- a/wgpu-hal/examples/ray-traced-triangle/main.rs +++ b/wgpu-hal/examples/ray-traced-triangle/main.rs @@ -555,7 +555,6 @@ impl Example { dimension: wgt::TextureViewDimension::D2, usage: hal::TextureUses::STORAGE_READ_WRITE | hal::TextureUses::COPY_SRC, range: wgt::ImageSubresourceRange::default(), - plane: None, }; let texture_view = unsafe { device.create_texture_view(&texture, &view_desc).unwrap() }; @@ -888,7 +887,6 @@ impl Example { dimension: wgt::TextureViewDimension::D2, usage: hal::TextureUses::COPY_DST, range: wgt::ImageSubresourceRange::default(), - plane: None, }; let surface_tex_view = unsafe { self.device