mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Readme updates about the Gecko branch
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user