diff --git a/Cargo.lock b/Cargo.lock index c182eef57..8d508c40e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -901,7 +901,7 @@ checksum = "52560adf09603e58c9a7ee1fe1dcb95a16927b17c127f0ac02d6e768a0e25bc1" [[package]] name = "cts_runner" -version = "27.0.0" +version = "28.0.0" dependencies = [ "deno_console", "deno_core", @@ -1845,7 +1845,7 @@ checksum = "dfa686283ad6dd069f105e5ab091b04c62850d3e4cf5d67debad1933f55023df" [[package]] name = "hlsl-snapshots" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "nanoserde", @@ -2237,7 +2237,7 @@ checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" [[package]] name = "lock-analyzer" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "ron", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "naga" -version = "27.0.0" +version = "28.0.0" dependencies = [ "arbitrary", "arrayvec", @@ -2427,7 +2427,7 @@ dependencies = [ [[package]] name = "naga-cli" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "argh", @@ -2440,7 +2440,7 @@ dependencies = [ [[package]] name = "naga-fuzz" -version = "27.0.0" +version = "28.0.0" dependencies = [ "arbitrary", "cfg_aliases 0.2.1", @@ -2450,7 +2450,7 @@ dependencies = [ [[package]] name = "naga-test" -version = "27.0.0" +version = "28.0.0" dependencies = [ "bitflags 2.10.0", "naga", @@ -3082,7 +3082,7 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "player" -version = "27.0.0" +version = "28.0.0" dependencies = [ "bytemuck", "env_logger", @@ -4652,7 +4652,7 @@ dependencies = [ [[package]] name = "wgpu" -version = "27.0.0" +version = "28.0.0" dependencies = [ "arrayvec", "bitflags 2.10.0", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "wgpu-benchmark" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "bincode 2.0.1", @@ -4701,7 +4701,7 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "27.0.0" +version = "28.0.0" dependencies = [ "arrayvec", "bit-set", @@ -4735,28 +4735,28 @@ dependencies = [ [[package]] name = "wgpu-core-deps-apple" -version = "27.0.0" +version = "28.0.0" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-core-deps-emscripten" -version = "27.0.0" +version = "28.0.0" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-core-deps-wasm" -version = "27.0.0" +version = "28.0.0" dependencies = [ "wgpu-hal", ] [[package]] name = "wgpu-core-deps-windows-linux-android" -version = "27.0.0" +version = "28.0.0" dependencies = [ "wgpu-hal", ] @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "wgpu-examples" -version = "27.0.0" +version = "28.0.0" dependencies = [ "bytemuck", "cfg-if", @@ -4823,7 +4823,7 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "27.0.0" +version = "28.0.0" dependencies = [ "android_system_properties", "arrayvec", @@ -4876,7 +4876,7 @@ dependencies = [ [[package]] name = "wgpu-info" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "bitflags 2.10.0", @@ -4891,7 +4891,7 @@ dependencies = [ [[package]] name = "wgpu-macros" -version = "27.0.0" +version = "28.0.0" dependencies = [ "heck", "quote", @@ -4900,7 +4900,7 @@ dependencies = [ [[package]] name = "wgpu-test" -version = "27.0.0" +version = "28.0.0" dependencies = [ "anyhow", "approx", @@ -4941,7 +4941,7 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "27.0.0" +version = "28.0.0" dependencies = [ "bitflags 2.10.0", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 7fe0845d8..79a9fe977 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,13 +61,13 @@ keywords = ["graphics"] license = "MIT OR Apache-2.0" homepage = "https://wgpu.rs/" repository = "https://github.com/gfx-rs/wgpu" -version = "27.0.0" +version = "28.0.0" authors = ["gfx-rs developers"] [workspace.dependencies] -naga = { version = "27.0.0", path = "./naga" } +naga = { version = "28.0.0", path = "./naga" } naga-test = { path = "./naga-test" } -wgpu = { version = "27.0.0", path = "./wgpu", default-features = false, features = [ +wgpu = { version = "28.0.0", path = "./wgpu", default-features = false, features = [ "std", "serde", "wgsl", @@ -80,21 +80,21 @@ wgpu = { version = "27.0.0", path = "./wgpu", default-features = false, features "static-dxc", "noop", # This should be removed if we ever have non-test crates that depend on wgpu ] } -wgpu-core = { version = "27.0.0", path = "./wgpu-core" } -wgpu-hal = { version = "27.0.0", path = "./wgpu-hal" } -wgpu-macros = { version = "27.0.0", path = "./wgpu-macros" } -wgpu-test = { version = "27.0.0", path = "./tests" } -wgpu-types = { version = "27.0.0", path = "./wgpu-types", default-features = false } +wgpu-core = { version = "28.0.0", path = "./wgpu-core" } +wgpu-hal = { version = "28.0.0", path = "./wgpu-hal" } +wgpu-macros = { version = "28.0.0", path = "./wgpu-macros" } +wgpu-test = { version = "28.0.0", path = "./tests" } +wgpu-types = { version = "28.0.0", path = "./wgpu-types", default-features = false } # These _cannot_ have a version specified. If it does, crates.io will look # for a version of the package on crates when we publish naga. Path dependencies # are allowed through though. hlsl-snapshots = { path = "naga/hlsl-snapshots" } -wgpu-core-deps-windows-linux-android = { version = "27.0.0", path = "./wgpu-core/platform-deps/windows-linux-android" } -wgpu-core-deps-apple = { version = "27.0.0", path = "./wgpu-core/platform-deps/apple" } -wgpu-core-deps-wasm = { version = "27.0.0", path = "./wgpu-core/platform-deps/wasm" } -wgpu-core-deps-emscripten = { version = "27.0.0", path = "./wgpu-core/platform-deps/emscripten" } +wgpu-core-deps-windows-linux-android = { version = "28.0.0", path = "./wgpu-core/platform-deps/windows-linux-android" } +wgpu-core-deps-apple = { version = "28.0.0", path = "./wgpu-core/platform-deps/apple" } +wgpu-core-deps-wasm = { version = "28.0.0", path = "./wgpu-core/platform-deps/wasm" } +wgpu-core-deps-emscripten = { version = "28.0.0", path = "./wgpu-core/platform-deps/emscripten" } anyhow = { version = "1.0.87", default-features = false } approx = "0.5" diff --git a/README.md b/README.md index 289b1249e..eee2c3968 100644 --- a/README.md +++ b/README.md @@ -49,13 +49,13 @@ To use wgpu in C or dozens of other languages, look at [wgpu-native](https://git | Docs | Examples | Changelog | |:---------------------:|:-------------------------:|:-----------------------:| -| [v27][rel-docs] | [v27][rel-examples] | [v27][rel-change] | +| [v28][rel-docs] | [v28][rel-examples] | [v28][rel-change] | | [`trunk`][trunk-docs] | [`trunk`][trunk-examples] | [`trunk`][trunk-change] | Contributors are welcome! See [CONTRIBUTING.md][contrib] for more information. [rel-docs]: https://docs.rs/wgpu/ -[rel-examples]: https://github.com/gfx-rs/wgpu/tree/v27/examples#readme +[rel-examples]: https://github.com/gfx-rs/wgpu/tree/v28/examples#readme [rel-change]: https://github.com/gfx-rs/wgpu/releases [trunk-docs]: https://wgpu.rs/doc/wgpu/ [trunk-examples]: https://github.com/gfx-rs/wgpu/tree/trunk/examples#readme diff --git a/examples/README.md b/examples/README.md index 9cb24cbba..194c5a945 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,6 +1,6 @@ > [!NOTE] > These are the examples for the development version of wgpu. If you want to see the examples for the latest crates.io release -> of wgpu, go to the [latest release branch](https://github.com/gfx-rs/wgpu/tree/v27/examples#readme). +> of wgpu, go to the [latest release branch](https://github.com/gfx-rs/wgpu/tree/v28/examples#readme). # Examples @@ -23,7 +23,7 @@ be cloned out of the repository to serve as a starting point for your own projec You can also use [`cargo-generate`](https://github.com/cargo-generate/cargo-generate) to easily use these as a basis for your own projects. ```sh -cargo generate gfx-rs/wgpu --branch v27 +cargo generate gfx-rs/wgpu --branch v28 ``` ## Framework Examples diff --git a/examples/standalone/01_hello_compute/Cargo.toml b/examples/standalone/01_hello_compute/Cargo.toml index fa0752637..ded7e2afc 100644 --- a/examples/standalone/01_hello_compute/Cargo.toml +++ b/examples/standalone/01_hello_compute/Cargo.toml @@ -8,4 +8,4 @@ publish = false bytemuck = "1.22.0" env_logger = "0.11" pollster = "0.4" -wgpu = "27.0.0" +wgpu = "28.0.0" diff --git a/examples/standalone/02_hello_window/Cargo.toml b/examples/standalone/02_hello_window/Cargo.toml index 8e23fcb30..e4c18e136 100644 --- a/examples/standalone/02_hello_window/Cargo.toml +++ b/examples/standalone/02_hello_window/Cargo.toml @@ -7,5 +7,5 @@ publish = false [dependencies] env_logger = "0.11" pollster = "0.4" -wgpu = "27.0.0" +wgpu = "28.0.0" winit = { version = "0.30.8", features = ["android-native-activity"] } diff --git a/examples/standalone/custom_backend/Cargo.toml b/examples/standalone/custom_backend/Cargo.toml index 62d39feb6..bf33d094b 100644 --- a/examples/standalone/custom_backend/Cargo.toml +++ b/examples/standalone/custom_backend/Cargo.toml @@ -9,7 +9,7 @@ default = ["web"] web = ["wgpu/web"] [dependencies] -wgpu = { version = "27.0.0", features = [ +wgpu = { version = "28.0.0", features = [ "custom", "wgsl", ], default-features = false } diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 2df25601d..56c02000a 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -17,7 +17,7 @@ //! //! We have a [wiki](https://github.com/gfx-rs/wgpu/wiki) which has information on useful architecture patterns, debugging tips, and more getting started information. //! -//! There are examples for this version [available on GitHub](https://github.com/gfx-rs/wgpu/tree/v27/examples#readme). +//! There are examples for this version [available on GitHub](https://github.com/gfx-rs/wgpu/tree/v28/examples#readme). //! //! The API is refcounted, so all handles are cloneable, and if you create a resource which references another, //! it will automatically keep dependent resources alive. @@ -32,8 +32,8 @@ //! //! [Learn Wgpu]: https://sotrh.github.io/learn-wgpu/ //! [WebGPU Fundamentals]: https://webgpufundamentals.org/ -//! [render_coordinates]: https://raw.githubusercontent.com/gfx-rs/wgpu/refs/heads/v27/docs/render_coordinates.png -//! [texture_coordinates]: https://raw.githubusercontent.com/gfx-rs/wgpu/refs/heads/v27/docs/texture_coordinates.png +//! [render_coordinates]: https://raw.githubusercontent.com/gfx-rs/wgpu/refs/heads/v28/docs/render_coordinates.png +//! [texture_coordinates]: https://raw.githubusercontent.com/gfx-rs/wgpu/refs/heads/v28/docs/texture_coordinates.png //! //! ## Extension Specifications //! @@ -42,8 +42,8 @@ //! //! 🧪EXPERIMENTAL🧪 APIs are subject to change and may allow undefined behavior if used incorrectly. //! -//! - 🧪EXPERIMENTAL🧪 [Ray Tracing](https://github.com/gfx-rs/wgpu/blob/v27/docs/api-specs/ray_tracing.md). -//! - 🧪EXPERIMENTAL🧪 [Mesh Shading](https://github.com/gfx-rs/wgpu/blob/v27/docs/api-specs/mesh_shading.md). +//! - 🧪EXPERIMENTAL🧪 [Ray Tracing](https://github.com/gfx-rs/wgpu/blob/v28/docs/api-specs/ray_tracing.md). +//! - 🧪EXPERIMENTAL🧪 [Mesh Shading](https://github.com/gfx-rs/wgpu/blob/v28/docs/api-specs/mesh_shading.md). //! //! ## Shader Support //!