[rs] Readme updates about the Gecko branch

This commit is contained in:
Dzmitry Malyshau
2020-06-20 19:14:39 -04:00
parent 15fb850842
commit b4941b1939
3 changed files with 5 additions and 8 deletions

View File

@@ -1,13 +1,7 @@
[package]
name = "wgpu"
version = "0.5.0"
authors = [
"Dzmitry Malyshau <kvark@mozilla.com>",
"Joshua Groves <josh@joshgroves.com>",
"Lucas Kent <rubickent@gmail.com>",
"kyren <kerriganw@gmail.com>",
"Cormac O'Brien <cormac@c-obrien.org>",
]
authors = ["wgpu developers"]
edition = "2018"
description = "Rusty WebGPU API wrapper"
homepage = "https://github.com/gfx-rs/wgpu-rs"

View File

@@ -37,11 +37,13 @@ cargo run --example hello-compute 1 2 3 4
#### Run Examples on the Web (`wasm32-unknown-unknown`)
Running on the web is still work-in-progress. You may need to enable experimental flags on your browser. Check browser implementation status on [webgpu.io](https://webgpu.io).
Running on the web is still work-in-progress. You may need to enable experimental flags on your browser. Check browser implementation status on [webgpu.io](https://webgpu.io). Notably, `wgpu-rs` is often ahead in catching up with upstream WebGPU API changes. We keep the `gecko` branch pointing to the code that should work on latest Firefox.
To run examples on the `wasm32-unknown-unknown` target, first build the example as usual, then run `wasm-bindgen`:
```bash
# Checkout `gecko` branch that matches the state of Firefox
git checkout upstream/gecko
# Install or update wasm-bindgen-cli
cargo install -f wasm-bindgen-cli
# Build with the wasm target

View File

@@ -25,6 +25,7 @@ All framework-based examples render to the window.
| off-screen rendering | | | | | :star: | | | :star: |
| stencil testing | | | | | | | | |
| depth testing | | | | | :star: | | | :star: |
| depth biasing | | | | | :star: | | | |
| read-only depth | | | | | | | | :star: |
| blending | | | | | | | | :star: |
| render bundles | | | | :star: | | | | :star: |