From 1322a9efb33bf510bb77d2c15d9c4483ac7518d5 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sat, 30 Jan 2021 20:24:51 -0500 Subject: [PATCH] Release v0.7 --- Cargo.lock | 59 +++++++++++++++++++++++++------------------ Cargo.toml | 12 --------- dummy/Cargo.toml | 2 +- player/Cargo.toml | 4 +-- wgpu-core/Cargo.toml | 30 ++++++++++------------ wgpu-types/Cargo.toml | 2 +- 6 files changed, 52 insertions(+), 57 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 90c4ab184..fa78b2ed9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,8 +475,9 @@ dependencies = [ [[package]] name = "gfx-auxil" -version = "0.5.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7b33ecf067f2117668d91c9b0f2e5f223ebd1ffec314caa2f3de27bb580186d" dependencies = [ "fxhash", "gfx-hal", @@ -485,8 +486,9 @@ dependencies = [ [[package]] name = "gfx-backend-dx11" -version = "0.6.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f851d03c2e8f117e3702bf41201a4fafa447d5cb1276d5375870ae7573d069dd" dependencies = [ "arrayvec", "bitflags", @@ -506,8 +508,9 @@ dependencies = [ [[package]] name = "gfx-backend-dx12" -version = "0.6.2" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36dc6ba2b7647e2c2b27b8f74ff5ccdd53c703776588eee5b1de515fdcbd6bc9" dependencies = [ "arrayvec", "bit-set", @@ -526,8 +529,9 @@ dependencies = [ [[package]] name = "gfx-backend-empty" -version = "0.6.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f07ef26a65954cfdd7b4c587f485100d1bb3b0bd6a51b02d817d6c87cca7a91" dependencies = [ "gfx-hal", "log", @@ -536,8 +540,9 @@ dependencies = [ [[package]] name = "gfx-backend-gl" -version = "0.6.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e17fd85420547bceb851fadb90f196f168abfc252d57528bd2d749db0d18b75f" dependencies = [ "arrayvec", "bitflags", @@ -558,8 +563,9 @@ dependencies = [ [[package]] name = "gfx-backend-metal" -version = "0.6.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc54b456ece69ef49f8893269ebf24ac70969ed34ba2719c3f3abcc8fbff14e" dependencies = [ "arrayvec", "bitflags", @@ -582,8 +588,9 @@ dependencies = [ [[package]] name = "gfx-backend-vulkan" -version = "0.6.5" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dabe88b1a5c91e0f969b441cc57e70364858066e4ba937deeb62065654ef9bd9" dependencies = [ "arrayvec", "ash", @@ -602,8 +609,9 @@ dependencies = [ [[package]] name = "gfx-hal" -version = "0.6.0" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1d9cc8d3b573dda62d0baca4f02e0209786e22c562caff001d77c389008781d" dependencies = [ "bitflags", "naga", @@ -878,8 +886,9 @@ dependencies = [ [[package]] name = "metal" -version = "0.20.1" -source = "git+https://github.com/gfx-rs/metal-rs?rev=9a12f4e7e7030f41675d1b438c88f9dd75a994cd#9a12f4e7e7030f41675d1b438c88f9dd75a994cd" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4598d719460ade24c7d91f335daf055bf2a7eec030728ce751814c50cdd6a26c" dependencies = [ "bitflags", "block", @@ -934,8 +943,9 @@ dependencies = [ [[package]] name = "naga" -version = "0.2.0" -source = "git+https://github.com/gfx-rs/naga?tag=gfx-8#4a13ce022b666a4896ba1dbcbd82121e8b06ad3e" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8f30d7036f137a2f64fd7d53b70a91545d3f09e030b77b3816ff7bd4cf3f789" dependencies = [ "bit-set", "bitflags", @@ -1200,8 +1210,9 @@ dependencies = [ [[package]] name = "range-alloc" -version = "0.1.1" -source = "git+https://github.com/gfx-rs/gfx?rev=2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8#2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63e935c45e09cc6dcf00d2f0b2d630a58f4095320223d47fc68918722f0538b6" [[package]] name = "raw-window-handle" @@ -1788,7 +1799,7 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.6.0" +version = "0.7.0" dependencies = [ "arrayvec", "bitflags", @@ -1830,7 +1841,7 @@ dependencies = [ [[package]] name = "wgpu-types" -version = "0.6.0" +version = "0.7.0" dependencies = [ "bitflags", "serde", diff --git a/Cargo.toml b/Cargo.toml index d329d430a..0c0dfcc41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,15 +5,3 @@ members = [ "wgpu-core", "wgpu-types", ] - -[patch."https://github.com/gfx-rs/gfx"] -#hal = { package = "gfx-hal", path = "../gfx/src/hal" } -#gfx-backend-vulkan = { path = "../gfx/src/backend/vulkan", features = ["naga"] } -#gfx-backend-metal = { path = "../gfx/src/backend/metal", features = ["naga"] } -#gfx-backend-gl = { path = "../gfx/src/backend/gl", features = ["naga"] } -#gfx-backend-dx12 = { path = "../gfx/src/backend/dx12" } -#gfx-backend-dx11 = { path = "../gfx/src/backend/dx11" } -#gfx-backend-empty = { path = "../gfx/src/backend/empty" } - -[patch."https://github.com/gfx-rs/naga"] -#naga = { path = "../naga" } diff --git a/dummy/Cargo.toml b/dummy/Cargo.toml index 3d253f05e..741fc8c7d 100644 --- a/dummy/Cargo.toml +++ b/dummy/Cargo.toml @@ -12,5 +12,5 @@ publish = false [dependencies.wgc] path = "../wgpu-core" package = "wgpu-core" -version = "0.6" +version = "0.7" features = ["serial-pass", "trace"] diff --git a/player/Cargo.toml b/player/Cargo.toml index 2ecdd631c..04a8cf853 100644 --- a/player/Cargo.toml +++ b/player/Cargo.toml @@ -25,13 +25,13 @@ winit = { version = "0.24", optional = true } [dependencies.wgt] path = "../wgpu-types" package = "wgpu-types" -version = "0.6" +version = "0.7" features = ["replay"] [dependencies.wgc] path = "../wgpu-core" package = "wgpu-core" -version = "0.6" +version = "0.7" features = ["replay", "raw-window-handle"] #[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.gfx-backend-metal] diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index 453d779c6..77019eabd 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgpu-core" -version = "0.6.0" +version = "0.7.0" authors = ["wgpu developers"] edition = "2018" description = "WebGPU core logic on gfx-hal" @@ -35,35 +35,31 @@ thiserror = "1" gpu-alloc = { version = "0.3", features = ["tracing"] } gpu-descriptor = { version = "0.1", features = ["tracing"] } +naga = { version = "0.3.1", features = ["spv-in", "spv-out", "wgsl-in"] } -hal = { package = "gfx-hal", git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" } -gfx-backend-empty = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" } +hal = { package = "gfx-hal", version = "0.7" } +gfx-backend-empty = "0.7" [target.'cfg(all(not(target_arch = "wasm32"), all(unix, not(target_os = "ios"), not(target_os = "macos"))))'.dependencies] -gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", features = ["naga"] } -gfx-backend-gl = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", features = ["naga"] } +gfx-backend-vulkan = { version = "0.7", features = ["naga"] } +gfx-backend-gl = { version = "0.7", features = ["naga"] } [target.'cfg(all(not(target_arch = "wasm32"), any(target_os = "ios", target_os = "macos")))'.dependencies] -gfx-backend-metal = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", features = ["naga"] } -gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", optional = true } +gfx-backend-metal = { version = "0.7", features = ["naga"] } +gfx-backend-vulkan = { version = "0.7", optional = true } [target.'cfg(all(not(target_arch = "wasm32"), windows))'.dependencies] -gfx-backend-dx12 = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" } -gfx-backend-dx11 = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8" } -gfx-backend-vulkan = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", features = ["naga"] } +gfx-backend-dx12 = "0.7" +gfx-backend-dx11 = "0.7" +gfx-backend-vulkan = { version = "0.7", features = ["naga"] } [target.'cfg(target_arch = "wasm32")'.dependencies] -gfx-backend-gl = { git = "https://github.com/gfx-rs/gfx", rev = "2fd74dbe1562a3eef05b11dcd300c1c9c9bc12a8", features = ["naga"] } - -[dependencies.naga] -git = "https://github.com/gfx-rs/naga" -tag = "gfx-8" -features = ["spv-in", "spv-out", "wgsl-in"] +gfx-backend-gl = { version = "0.7", features = ["naga"] } [dependencies.wgt] path = "../wgpu-types" package = "wgpu-types" -version = "0.6" +version = "0.7" [dev-dependencies] loom = "0.3" diff --git a/wgpu-types/Cargo.toml b/wgpu-types/Cargo.toml index bc23adb40..5821f2ddb 100644 --- a/wgpu-types/Cargo.toml +++ b/wgpu-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wgpu-types" -version = "0.6.0" +version = "0.7.0" authors = ["wgpu developers"] edition = "2018" description = "WebGPU types"