mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
chore(ext/webgpu): update wgpu to 0.10.0 (#11781)
Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
parent
50f69a6996
commit
f4a9db350f
19 changed files with 366 additions and 501 deletions
|
@ -128,6 +128,12 @@ pub fn op_webgpu_write_texture(
|
|||
y: origin.y.unwrap_or(0),
|
||||
z: origin.z.unwrap_or(0),
|
||||
}),
|
||||
aspect: match args.destination.aspect.as_str() {
|
||||
"all" => wgpu_types::TextureAspect::All,
|
||||
"stencil-only" => wgpu_types::TextureAspect::StencilOnly,
|
||||
"depth-only" => wgpu_types::TextureAspect::DepthOnly,
|
||||
_ => unreachable!(),
|
||||
},
|
||||
};
|
||||
let data_layout = wgpu_types::ImageDataLayout {
|
||||
offset: args.data_layout.offset.unwrap_or(0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue