From b4941b1939eda8f1898734b1f42e145e7ef5430a Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sat, 20 Jun 2020 19:14:39 -0400 Subject: [PATCH] [rs] Readme updates about the Gecko branch --- wgpu/Cargo.toml | 8 +------- wgpu/README.md | 4 +++- wgpu/examples/README.md | 1 + 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 6ce0039e46..5bbb102037 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: |