Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/aprender-present-lib/src/webgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,11 @@ pub fn render_instances(
label: Some("Shape Render Pass"),
color_attachments: &[Some(wgpu::RenderPassColorAttachment {
view,
// wgpu added this field for rendering into one slice of a 3D
// texture; `view` here is a 2D surface texture, for which
// `None` is the only valid value. Nothing builds this crate
// with `gpu`, so the initializer was never updated.
depth_slice: None,
resolve_target: None,
ops: wgpu::Operations {
load: load_op,
Expand Down
Loading
Loading