Skip to content

Commit 60615d6

Browse files
bors[bot]kvarkgrovesNL
authored
401: Readme updates about the Gecko branch r=grovesNL a=kvark 402: Re-enable auto-deploy from gecko branch r=kvark a=grovesNL As mentioned on Matrix, the `gecko` branch should be safe to use for auto-deployment to GitHub pages for the wgpu-rs examples on wasm. We can use the `gecko` branch for now and eventually switch back to `master`. Co-authored-by: Dzmitry Malyshau <[email protected]> Co-authored-by: Joshua Groves <[email protected]>
3 parents abd2dae + b4941b1 + 8c3778c commit 60615d6

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
push:
55
branches:
6-
- master-TEMPORARILY-DISABLED
6+
- gecko
77

88
env:
99
RUSTFLAGS: --cfg=web_sys_unstable_apis

wgpu/Cargo.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
[package]
22
name = "wgpu"
33
version = "0.5.0"
4-
authors = [
5-
"Dzmitry Malyshau <[email protected]>",
6-
"Joshua Groves <[email protected]>",
7-
"Lucas Kent <[email protected]>",
8-
"kyren <[email protected]>",
9-
"Cormac O'Brien <[email protected]>",
10-
]
4+
authors = ["wgpu developers"]
115
edition = "2018"
126
description = "Rusty WebGPU API wrapper"
137
homepage = "https://github.com/gfx-rs/wgpu-rs"

wgpu/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ cargo run --example hello-compute 1 2 3 4
3737

3838
#### Run Examples on the Web (`wasm32-unknown-unknown`)
3939

40-
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).
40+
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.
4141

4242
To run examples on the `wasm32-unknown-unknown` target, first build the example as usual, then run `wasm-bindgen`:
4343

4444
```bash
45+
# Checkout `gecko` branch that matches the state of Firefox
46+
git checkout upstream/gecko
4547
# Install or update wasm-bindgen-cli
4648
cargo install -f wasm-bindgen-cli
4749
# Build with the wasm target

wgpu/examples/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ All framework-based examples render to the window.
2525
| off-screen rendering | | | | | :star: | | | :star: |
2626
| stencil testing | | | | | | | | |
2727
| depth testing | | | | | :star: | | | :star: |
28+
| depth biasing | | | | | :star: | | | |
2829
| read-only depth | | | | | | | | :star: |
2930
| blending | | | | | | | | :star: |
3031
| render bundles | | | | :star: | | | | :star: |

0 commit comments

Comments
 (0)