1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

fix(webgpu): Add Uint32Array type for code in ShaderModuleDescriptor (#9730)

This commit is contained in:
crowlKats 2021-03-09 17:43:58 +01:00 committed by GitHub
parent 4cd1f3d2b2
commit 1621d78623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,7 +460,7 @@ declare class GPUShaderModule implements GPUObjectBase {
}
declare interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
code: string | Uint32Array;
sourceMap?: any;
}