Files
wgpu/deno_webgpu
pinandErich Gubler 8ad8a820c6 Add basic NetBSD support (#8695)
* Add basic NetBSD support

  - closes https://github.com/gfx-rs/wgpu/issues/8541
  - replaces https://github.com/gfx-rs/wgpu/pull/8679

  ```
  Tests:
  Summary [ 149.522s] 469 tests run: 463 passed, 6 failed, 0 skipped
  FAIL [ 0.095s] naga::naga snapshots::convert_snapshots_spv
  FAIL [ 0.387s] wgpu-benchmark::bench/wgpu-benchmark Computepass Encoding
  FAIL [ 0.386s] wgpu-benchmark::bench/wgpu-benchmark Device::create_bind_group
  FAIL [ 0.378s] wgpu-benchmark::bench/wgpu-benchmark Device::create_buffer
  FAIL [ 0.389s] wgpu-benchmark::bench/wgpu-benchmark Renderpass Encoding
  FAIL [ 0.075s] wgpu-test::wgpu-validation api::instance::multi_instance::multi_instance
  ```

* Exclude Vulkan and DRM surface paths on NetBSD

  Match platform support and avoiding cfg mismatches between wgpu and wgpu-core.
(with help from LLM)

---------

Co-authored-by: Erich Gubler <erichdongubler@gmail.com>
2026-01-26 16:27:57 +00:00
..
2026-01-26 16:27:57 +00:00
2024-04-02 14:36:04 -04:00
2025-12-19 15:12:03 -08:00
2025-12-19 15:12:03 -08:00
2025-12-19 15:12:03 -08: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.

This op crate is tested primarily by running the WebGPU conformance test suite using wgpu's cts_runner. cts_runner also has a few directed tests to fill in missing coverage.

GPU availability in GitHub CI is limited, so some configurations rely on software like DX WARP & Vulkan lavapipe.

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