Cross-platform, safe, pure-rust graphics api.
Go to file
bors[bot] c9f4936df4 Merge #56
56: Initial compute pipeline support r=kvark a=swiftcoder

Hey, I'd love to help out with this effort, but please let me know if I'm only going to be slowing you down :)

Sample is a port of https://github.com/gfx-rs/gfx/blob/master/examples/compute/main.rs - as yet incomplete because we don't have a read-back API defined.

I'm happy to do the implementation of the read-back API, but I wanted to touch base about how you envision `mapReadAsync`/`mapWriteAsync` working in Rust. Do we introduce futures to match the webgpu spec? Or expose it in a more direct fashion.

Co-authored-by: Tristam MacDonald <swiftcoder@gmail.com>
2019-02-12 04:39:37 +00:00
examples Initial compute pipeline support 2019-02-11 19:02:18 -08:00
gfx-examples Cube cleanup and the new generated texture 2019-02-04 09:55:32 -05:00
wgpu-bindings Rust and C API for transfers 2019-02-07 08:17:13 -05:00
wgpu-native Initial compute pipeline support 2019-02-11 19:02:18 -08:00
wgpu-rs Initial compute pipeline support 2019-02-11 19:02:18 -08:00
.gitignore Create C example 2018-09-23 13:25:05 -06:00
.travis.yml Remove examples Makefile from CI 2019-01-24 12:08:32 -05:00
bors.toml CI scripts 2018-09-14 11:39:24 -04:00
Cargo.lock Depenency gfx update to 0.1.1 2019-02-05 09:45:52 -05:00
Cargo.toml Basic gfx-examples framework 2019-02-02 21:02:33 -05:00
LICENSE Initial commit 2018-09-13 15:18:51 -04:00
Makefile Linux support for GLFW example 2019-01-24 12:33:34 -05:00
README.md Dependencies and Cargo configurations update for 0.1 2019-01-24 07:39:51 -08:00
rustfmt.toml CI scripts 2018-09-14 11:39:24 -04:00

WebGPU

Build Status Crates.io Gitter

This is an experimental WebGPU implementation as a native static library. It's written in Rust and is based on gfx-hal and satellite libraries. The corresponding WebIDL specification can be found at gpuweb project.

The implementation consists of the following parts:

  • wgpu-native - the native implementation of WebGPU as a C API library
  • wgpu-bindings - automatic generator of actual C headers
  • wgpu-remote - remoting layer to work with WebGPU across the process boundary
  • wgpu-rs - idiomatic Rust wrapper of the native library