deno/ext/webgpu
David Sherret d15a302d41
Some checks are pending
ci / build libs (push) Blocked by required conditions
ci / publish canary (push) Blocked by required conditions
ci / pre-build (push) Waiting to run
ci / test debug linux-aarch64 (push) Blocked by required conditions
ci / test release linux-aarch64 (push) Blocked by required conditions
ci / test debug macos-aarch64 (push) Blocked by required conditions
ci / test release macos-aarch64 (push) Blocked by required conditions
ci / bench release linux-x86_64 (push) Blocked by required conditions
ci / lint debug linux-x86_64 (push) Blocked by required conditions
ci / lint debug macos-x86_64 (push) Blocked by required conditions
ci / lint debug windows-x86_64 (push) Blocked by required conditions
ci / test debug linux-x86_64 (push) Blocked by required conditions
ci / test release linux-x86_64 (push) Blocked by required conditions
ci / test debug macos-x86_64 (push) Blocked by required conditions
ci / test release macos-x86_64 (push) Blocked by required conditions
ci / test debug windows-x86_64 (push) Blocked by required conditions
ci / test release windows-x86_64 (push) Blocked by required conditions
refactor: add deno_config crate back to cli (#29740)
Co-authored-by: nayeemrmn <nayeemrmn@users.noreply.github.com>
2025-06-13 17:01:26 +00:00
..
00_init.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
01_webgpu.js feat(unstable/webgpu): add deviceStartCapture and deviceStopCapture (#28192) 2025-04-16 17:26:28 +00:00
02_surface.js fix: move extension file declarations to cli/tsc/dts (#28180) 2025-02-19 02:53:21 +01:00
adapter.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
bind_group.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
bind_group_layout.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
buffer.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
byow.rs feat(UNSTABLE/byow): add resize method to UnsafeWindowSurface (#29254) 2025-05-19 17:57:01 +02:00
Cargo.toml 2.3.6 (#29722) 2025-06-12 14:33:24 +02:00
command_buffer.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
command_encoder.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
compute_pass.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
compute_pipeline.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
device.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
error.rs feat(jupyter): make GPUTexture and GPUBuffer displayable (#28117) 2025-02-18 00:29:45 -08:00
lib.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
LICENSE.md refactor: add deno_config crate back to cli (#29740) 2025-06-13 17:01:26 +00:00
pipeline_layout.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
query_set.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
queue.rs feat(ext/webgpu): implement GPUQueue.onSubmittedWorkDone (#29255) 2025-05-17 01:48:03 +02:00
README.md chore: update wgpu (#23684) 2024-05-05 07:22:18 -07:00
render_bundle.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
render_pass.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
render_pipeline.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
sampler.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
shader.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
surface.rs feat(UNSTABLE/byow): add resize method to UnsafeWindowSurface (#29254) 2025-05-19 17:57:01 +02:00
texture.rs fix: update deno_core (#29166) 2025-05-05 13:58:34 -05:00
webgpu.idl refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
webidl.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00

deno_webgpu

This op crate implements the WebGPU API as defined in https://gpuweb.github.io/gpuweb/ in Deno. The implementation targets the spec draft as of March 31, 2024. The spec is still very much in flux. This extension tries to stay up to date with the spec, but is constrained by the features implemented in our GPU backend library wgpu.

The spec is still very bare bones, and is still missing many details. As the spec becomes more concrete, we will implement to follow the spec more closely.

In addition, setting the DENO_WEBGPU_TRACE environmental variable will output a wgpu trace to the specified directory.

For testing this op crate will make use of the WebGPU conformance tests suite, running through our WPT runner. This will be used to validate implementation conformance.

GitHub CI doesn't run with GPUs, so testing relies on software like DX WARP & Vulkan lavapipe. Currently, only using DX WARP works, so tests are only run on Windows.

Specification: https://gpuweb.github.io/gpuweb/

Design documents: https://github.com/gpuweb/gpuweb/tree/main/design

Conformance tests suite: https://github.com/gpuweb/cts

WebGPU examples for Deno: https://github.com/crowlKats/webgpu-examples

wgpu-users matrix channel: https://matrix.to/#/#wgpu-users:matrix.org