Skip to content

Commit

Permalink
webgpu: Adding more objects
Browse files Browse the repository at this point in the history
Added GPUTexture and related structs.
  • Loading branch information
edevil committed Oct 20, 2023
1 parent 1be1274 commit bfa0888
Show file tree
Hide file tree
Showing 10 changed files with 940 additions and 386 deletions.
1 change: 1 addition & 0 deletions src/workerd/api/global-scope.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ class ServiceWorkerGlobalScope: public WorkerGlobalScope {
JSG_NESTED_TYPE_NAMED(api::gpu::GPUBufferUsage, GPUBufferUsage);
JSG_NESTED_TYPE_NAMED(api::gpu::GPUShaderStage, GPUShaderStage);
JSG_NESTED_TYPE_NAMED(api::gpu::GPUMapMode, GPUMapMode);
JSG_NESTED_TYPE_NAMED(api::gpu::GPUTextureUsage, GPUTextureUsage);
#endif

JSG_TS_ROOT();
Expand Down
Loading

0 comments on commit bfa0888

Please sign in to comment.