dawn-rs 0.1.0-dev

Rust wrapper for the Dawn API
docs.rs failed to build dawn-rs-0.1.0-dev
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: dawn-rs-0.1.5-dev

dawn-rs

Rust bindings and wrappers for Dawn WebGPU.

Status

This project is under active development and not approved for production use.

Build Requirements

  • Dawn build artifacts are expected under DAWN_ROOT:
    • include/webgpu/webgpu.h
    • lib/libwebgpu_dawn.a
  • Dawn JSON schema is expected under DAWN_JSON:
    • dawn.json
  • On Windows, RUSTFLAGS="-Clink-arg=onecore_apiset.lib -Clink-arg=dxguid.lib" is needed to run the example.

Example

DAWN_ROOT=/dawn_release_path DAWN_JSON=/path/to/dawn.json cargo run --example adapter_info

Upstream References (Dawn)

License

This project is licensed under the BSD 3-Clause "New" or "Revised" License. See LICENSE.