diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a97bd7700d..8ac5f014ec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish on: push: branches: - - master-TEMPORARILY-DISABLED + - gecko env: RUSTFLAGS: --cfg=web_sys_unstable_apis diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index ae7078cc35..6768eb9b34 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -1,13 +1,7 @@ [package] name = "wgpu" version = "0.5.0" -authors = [ - "Dzmitry Malyshau ", - "Joshua Groves ", - "Lucas Kent ", - "kyren ", - "Cormac O'Brien ", -] +authors = ["wgpu developers"] edition = "2018" description = "Rusty WebGPU API wrapper" homepage = "https://github.com/gfx-rs/wgpu-rs" diff --git a/wgpu/README.md b/wgpu/README.md index 04e3d23110..e63a0ce7ac 100644 --- a/wgpu/README.md +++ b/wgpu/README.md @@ -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 diff --git a/wgpu/examples/README.md b/wgpu/examples/README.md index 69f34ffcc0..f8f7c3eb53 100644 --- a/wgpu/examples/README.md +++ b/wgpu/examples/README.md @@ -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: |