deno/ext/webgpu
denobot 6fbce91e40
Some checks failed
ci / pre-build (push) Has been cancelled
ci / build libs (push) Has been cancelled
ci / test debug linux-aarch64 (push) Has been cancelled
ci / test release linux-aarch64 (push) Has been cancelled
ci / test debug macos-aarch64 (push) Has been cancelled
ci / test release macos-aarch64 (push) Has been cancelled
ci / bench release linux-x86_64 (push) Has been cancelled
ci / lint debug linux-x86_64 (push) Has been cancelled
ci / lint debug macos-x86_64 (push) Has been cancelled
ci / lint debug windows-x86_64 (push) Has been cancelled
ci / test debug linux-x86_64 (push) Has been cancelled
ci / test release linux-x86_64 (push) Has been cancelled
ci / test debug macos-x86_64 (push) Has been cancelled
ci / test release macos-x86_64 (push) Has been cancelled
ci / test debug windows-x86_64 (push) Has been cancelled
ci / test release windows-x86_64 (push) Has been cancelled
ci / publish canary (push) Has been cancelled
2.5.4 (#30961)
Bumped versions for 2.5.4

---------

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-10-09 11:41:56 +02: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(webgpu): crash after isolate disposal (#30909) 2025-10-04 07:53:24 +02:00
bind_group.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
bind_group_layout.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
buffer.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
byow.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
Cargo.toml 2.5.4 (#30961) 2025-10-09 11:41:56 +02:00
command_buffer.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
command_encoder.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
compute_pass.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
compute_pipeline.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
device.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
error.rs fix(webgpu): crash after isolate disposal (#30909) 2025-10-04 07:53:24 +02:00
lib.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
LICENSE.md refactor: add deno_config crate back to cli (#29740) 2025-06-13 17:01:26 +00:00
pipeline_layout.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
query_set.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
queue.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
README.md chore: update wgpu (#23684) 2024-05-05 07:22:18 -07:00
render_bundle.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
render_pass.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
render_pipeline.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
sampler.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
shader.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
surface.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07:00
texture.rs feat: V8 14.0.0 (#30629) 2025-09-08 22:12:54 +02:00
webgpu.idl refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
webidl.rs perf: stack allocated v8 scopes (#30827) 2025-09-23 17:54:14 -07: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