0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -05:00
deno/ext/webgpu
Leo Kettmeir 7253820764
refactor: object wrap WebGPU (#27665)
Fixes #25874
Fixes #26760
Fixes #24288
Fixes #24798
Fixes #25627
Fixes #25915
Fixes #26769
2025-02-12 13:45:41 +00:00
..
00_init.js chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
01_webgpu.js refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
02_surface.js refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
adapter.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
bind_group.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
bind_group_layout.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
buffer.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
byow.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
Cargo.toml refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
command_buffer.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
command_encoder.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
compute_pass.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
compute_pipeline.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
device.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
error.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
lib.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
LICENSE.md chore: update wgpu (#23684) 2024-05-05 07:22:18 -07:00
pipeline_layout.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
query_set.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
queue.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
README.md chore: update wgpu (#23684) 2024-05-05 07:22:18 -07:00
render_bundle.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
render_pass.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
render_pipeline.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
sampler.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
shader.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
surface.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00:00
texture.rs refactor: object wrap WebGPU (#27665) 2025-02-12 13:45:41 +00: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