wgpu/deno_webgpu
Zachary Harrold 6151330e3a
[wgpu-hal]: MVP no_std support (#7599)
* MVP `no_std` support in `wgpu-hal`

* Update CHANGELOG.md

* Fix visibility

* Fix unused imports

* Response to feedback

Co-Authored-By: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

* Update other `validation_canary` usages

Co-Authored-By: Connor Fitzgerald <connorwadefitzgerald@gmail.com>

---------

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
2025-05-30 12:31:44 -04:00
..
00_init.js refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
01_webgpu.js refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
02_surface.js refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
adapter.rs Revive the CTS job (#7675) 2025-05-21 09:52:03 -07:00
bind_group_layout.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
bind_group.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
buffer.rs Remove another type of error that could be raised by destroy (#7720) 2025-05-24 17:02:00 +02:00
byow.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
Cargo.toml [wgpu-hal]: MVP no_std support (#7599) 2025-05-30 12:31:44 -04:00
command_buffer.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
command_encoder.rs Make the copy_buffer_to_buffer size parameter optional (#7659) 2025-05-28 17:21:19 +02:00
compute_pass.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
compute_pipeline.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
device.rs Revive the CTS job (#7675) 2025-05-21 09:52:03 -07:00
error.rs [deno] Rework error and device loss handling (#7693) 2025-05-17 19:38:22 +02:00
lib.rs make memory pressure detection optional and configurable 2025-04-22 09:21:27 +02:00
LICENSE.md chore: update deno (#5469) 2024-04-02 14:36:04 -04:00
pipeline_layout.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
query_set.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
queue.rs Revive the CTS job (#7675) 2025-05-21 09:52:03 -07:00
README.md chore: update deno (#5469) 2024-04-02 14:36:04 -04:00
render_bundle.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
render_pass.rs add RenderPassColorAttachment::depth_slice 2025-04-25 12:39:45 +02:00
render_pipeline.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
sampler.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
shader.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
surface.rs refactor(deno): use object wrap (#7113) 2025-02-13 04:17:00 -08:00
texture.rs Remove another type of error that could be raised by destroy (#7720) 2025-05-24 17:02:00 +02:00
webgpu.idl Support Sliced 3D for ASTC (#7577) 2025-05-04 12:48:16 +02:00
webidl.rs Revive the CTS job (#7675) 2025-05-21 09:52:03 -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