forked from juj/wasm_webgpu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebgpu-closure-externs.js
45 lines (44 loc) · 1014 Bytes
/
webgpu-closure-externs.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// This file is a copy of WebGPU externs file in upstream Emscripten src/closure-externs/webgpu-externs.js,
// manually maintained to be up to date with the latest spec.
/*
* WebGPU globals
*/
var GPU;
var GPUAdapter;
var GPUAdapterInfo;
var GPUBindGroup;
var GPUBindGroupLayout;
var GPUBuffer;
var GPUBufferUsage;
var GPUCanvasContext;
var GPUColorWrite;
var GPUCommandBuffer;
var GPUCommandEncoder;
var GPUCompilationInfo;
var GPUCompilationMessage;
var GPUComputePassEncoder;
var GPUComputePipeline;
var GPUDevice;
var GPUDeviceLostInfo;
var GPUError;
var GPUExternalTexture;
var GPUInternalError;
var GPUMapMode;
var GPUOutOfMemoryError;
var GPUPipelineLayout;
var GPUQuerySet;
var GPUQueue;
var GPURenderBundle;
var GPURenderBundleEncoder;
var GPURenderPassEncoder;
var GPURenderPipeline;
var GPUSampler;
var GPUShaderModule;
var GPUShaderStage;
var GPUSupportedFeatures;
var GPUSupportedLimits;
var GPUTexture;
var GPUTextureUsage;
var GPUTextureView;
var GPUUncapturedErrorEvent;
var GPUValidationError;