Skip to content

Commit

Permalink
fix issues in ray-traced-triangle example
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Dec 10, 2023
1 parent 49d5e85 commit b7486bd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wgpu-hal/examples/ray-traced-triangle/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ impl<A: hal::Api> Example<A> {
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() };

Expand Down Expand Up @@ -888,7 +887,6 @@ impl<A: hal::Api> Example<A> {
dimension: wgt::TextureViewDimension::D2,
usage: hal::TextureUses::COPY_DST,
range: wgt::ImageSubresourceRange::default(),
plane: None,
};
let surface_tex_view = unsafe {
self.device
Expand Down

0 comments on commit b7486bd

Please sign in to comment.