mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor (#9730)
This commit is contained in:
parent
4cd1f3d2b2
commit
1621d78623
1 changed files with 1 additions and 1 deletions
2
op_crates/webgpu/lib.deno_webgpu.d.ts
vendored
2
op_crates/webgpu/lib.deno_webgpu.d.ts
vendored
|
@ -460,7 +460,7 @@ declare class GPUShaderModule implements GPUObjectBase {
|
|||
}
|
||||
|
||||
declare interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
||||
code: string;
|
||||
code: string | Uint32Array;
|
||||
sourceMap?: any;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue