Skip to content

Commit

Permalink
rebase upstream/master
Browse files Browse the repository at this point in the history
  • Loading branch information
jinleili committed Jan 11, 2023
1 parent 2f76114 commit d9db149
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions wgpu/examples/stencil-triangles/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ impl framework::Example for Triangles {
sample_count: 1,
dimension: wgpu::TextureDimension::D2,
format: wgpu::TextureFormat::Stencil8,
view_formats: &[],
usage: wgpu::TextureUsages::RENDER_ATTACHMENT,
});

Expand Down
3 changes: 3 additions & 0 deletions wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2075,6 +2075,7 @@ impl Device {
owned: true,
descriptor: TextureDescriptor {
label: None,
view_formats: &[],
..desc.clone()
},
}
Expand Down Expand Up @@ -2111,6 +2112,7 @@ impl Device {
owned: true,
descriptor: TextureDescriptor {
label: None,
view_formats: &[],
..desc.clone()
},
}
Expand Down Expand Up @@ -4108,6 +4110,7 @@ impl Surface {
mip_level_count: 1,
sample_count: 1,
dimension: TextureDimension::D2,
view_formats: &[],
};

texture_id
Expand Down

0 comments on commit d9db149

Please sign in to comment.