diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c06a8aae..b6871a07d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Change Log +## v0.5 (06-04-2020) + - Crates: + - `wgpu-types`: common types between native and web targets + - `wgpu-core`: internal API for the native and remote wrappers + - Features: + - based on gfx-hal-0.5 + - moved from Rendy to the new `gfx-memory` and `gfx-descriptor` crates + - passes are now recorded on the client side. The user is also responsible to keep all resources referenced in the pass up until it ends recording. + - revised GPU lifetime tracking of all resources + - revised usage tracking logic + - all IDs are now non-zero + - Mailbox present mode + - Validation: + - active pipeline + - Fixes: + - lots of small API changes to closely match upstream WebGPU + - true read-only storage bindings + - unmapping dropped buffers + - better error messages on misused swapchain frames + +## v0.4.3 (20-01-2020) + - improved swap chain error handling + +## v0.4.2 (15-12-2019) + - fixed render pass transitions + +## v0.4.1 (28-11-2019) + - fixed depth/stencil transitions + - fixed dynamic offset iteration + ## v0.4 (03-11-2019) - Platforms: removed OpenGL/WebGL support temporarily - Features: diff --git a/Cargo.lock b/Cargo.lock index 1a052c3d8..d55279d6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -653,7 +653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "wgpu-core" -version = "0.1.0" +version = "0.5.0" dependencies = [ "arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "battery 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -674,12 +674,12 @@ dependencies = [ "serde 1.0.105 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - "wgpu-types 0.1.0", + "wgpu-types 0.5.0", ] [[package]] name = "wgpu-native" -version = "0.4.0" +version = "0.5.0" dependencies = [ "arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -687,8 +687,8 @@ dependencies = [ "objc 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "raw-window-handle 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", - "wgpu-core 0.1.0", - "wgpu-types 0.1.0", + "wgpu-core 0.5.0", + "wgpu-types 0.5.0", ] [[package]] @@ -697,13 +697,13 @@ version = "0.1.0" dependencies = [ "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", - "wgpu-core 0.1.0", - "wgpu-types 0.1.0", + "wgpu-core 0.5.0", + "wgpu-types 0.5.0", ] [[package]] name = "wgpu-types" -version = "0.1.0" +version = "0.5.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "peek-poke 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index c26fb55da..0b1185bbd 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgpu-core" -version = "0.1.0" +version = "0.5.0" authors = [ "Dzmitry Malyshau ", "Joshua Groves ", @@ -45,7 +45,7 @@ optional = true [dependencies.wgt] path = "../wgpu-types" package = "wgpu-types" -version = "0.1" +version = "0.5" features = ["peek-poke"] [target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies] diff --git a/wgpu-native/Cargo.toml b/wgpu-native/Cargo.toml index 28a216755..273999a6d 100644 --- a/wgpu-native/Cargo.toml +++ b/wgpu-native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgpu-native" -version = "0.4.0" +version = "0.5.0" authors = [ "Dzmitry Malyshau ", "Joshua Groves ", @@ -23,12 +23,12 @@ vulkan-portability = ["core/gfx-backend-vulkan"] [dependencies.core] path = "../wgpu-core" package = "wgpu-core" -version = "0.1" +version = "0.5" [dependencies.wgt] path = "../wgpu-types" package = "wgpu-types" -version = "0.1" +version = "0.5" [dependencies] arrayvec = "0.5" diff --git a/wgpu-remote/Cargo.toml b/wgpu-remote/Cargo.toml index 891a06834..87cabad1c 100644 --- a/wgpu-remote/Cargo.toml +++ b/wgpu-remote/Cargo.toml @@ -7,6 +7,7 @@ authors = [ ] edition = "2018" license = "MPL-2.0" +publish = false [lib] # Enabling these targets makes our CI bots try to build them and fail atm @@ -18,13 +19,13 @@ default = [] [dependencies.core] path = "../wgpu-core" package = "wgpu-core" -version = "0.1" +version = "0.5" features = ["serde"] [dependencies.wgt] path = "../wgpu-types" package = "wgpu-types" -version = "0.1" +version = "0.5" features = ["serde"] [dependencies] diff --git a/wgpu-types/Cargo.toml b/wgpu-types/Cargo.toml index 2c485c7f5..616e7e5e0 100644 --- a/wgpu-types/Cargo.toml +++ b/wgpu-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgpu-types" -version = "0.1.0" +version = "0.5.0" authors = [ "Dzmitry Malyshau ", "Joshua Groves ",