you're right, touching Cargo.lock
in wgpu was definitely not needed as it's not used when doing stuff in render-bench, as wgpu is a dep of it, only its Cargo.toml is used
this is what changed thusly:
diff --git a/Cargo.toml b/Cargo.toml
index dfaa21eb6..4754c2a13 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,27 +47,27 @@ keywords = ["graphics"]
license = "MIT OR Apache-2.0"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
[workspace.dependencies.wgc]
package = "wgpu-core"
path = "./wgpu-core"
-version = "0.20.0"
+version = "0.19.4"
[workspace.dependencies.wgt]
package = "wgpu-types"
path = "./wgpu-types"
-version = "0.20.0"
+version = "0.19.4"
[workspace.dependencies.hal]
package = "wgpu-hal"
path = "./wgpu-hal"
-version = "0.20.0"
+version = "0.19.4"
[workspace.dependencies.naga]
path = "./naga"
-version = "0.20.0"
+version = "0.19.4"
[workspace.dependencies]
anyhow = "1.0.86"
@@ -123,12 +123,12 @@ smallvec = "1"
static_assertions = "1.1.0"
tracy-client = "0.17"
thiserror = "1"
-wgpu = { version = "0.20.0", path = "./wgpu" }
-wgpu-core = { version = "0.20.0", path = "./wgpu-core" }
-wgpu-example = { version = "0.20.0", path = "./examples/common" }
-wgpu-macros = { version = "0.20.0", path = "./wgpu-macros" }
-wgpu-test = { version = "0.20.0", path = "./tests" }
-wgpu-types = { version = "0.20.0", path = "./wgpu-types" }
+wgpu = { version = "0.19.4", path = "./wgpu" }
+wgpu-core = { version = "0.19.4", path = "./wgpu-core" }
+wgpu-example = { version = "0.19.4", path = "./examples/common" }
+wgpu-macros = { version = "0.19.4", path = "./wgpu-macros" }
+wgpu-test = { version = "0.19.4", path = "./tests" }
+wgpu-types = { version = "0.19.4", path = "./wgpu-types" }
winit = { version = "0.29", features = ["android-native-activity"] }
# Metal dependencies
@@ -149,7 +149,7 @@ gpu-allocator = { version = "0.26", default-features = false, features = [
"d3d12",
"public-winapi",
] }
-d3d12 = { version = "0.20.0", path = "./d3d12/" }
+d3d12 = { version = "0.19.4", path = "./d3d12/" }
range-alloc = "0.1"
winapi = "0.3"
hassle-rs = "0.11.0"
diff --git a/d3d12/Cargo.toml b/d3d12/Cargo.toml
index 2c3f72152..ab48d8f7d 100644
--- a/d3d12/Cargo.toml
+++ b/d3d12/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "d3d12"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
description = "Low level D3D12 API wrapper"
repository = "https://github.com/gfx-rs/wgpu/tree/trunk/d3d12"
diff --git a/naga-cli/Cargo.toml b/naga-cli/Cargo.toml
index 9ffe6e937..06e044089 100644
--- a/naga-cli/Cargo.toml
+++ b/naga-cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "naga-cli"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
edition = "2021"
description = "Shader translation command line tool"
@@ -25,7 +25,7 @@ argh = "0.1.5"
anyhow.workspace = true
[dependencies.naga]
-version = "0.20.0"
+version = "0.19.4"
path = "../naga"
features = [
"compact",
diff --git a/naga/Cargo.toml b/naga/Cargo.toml
index d9d032509..68a9c3616 100644
--- a/naga/Cargo.toml
+++ b/naga/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "naga"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
edition = "2021"
description = "Shader translation infrastructure"
diff --git a/naga/fuzz/Cargo.toml b/naga/fuzz/Cargo.toml
index 196919e44..c7ed8e9aa 100644
--- a/naga/fuzz/Cargo.toml
+++ b/naga/fuzz/Cargo.toml
@@ -15,7 +15,7 @@ libfuzzer-sys = "0.4"
[target.'cfg(not(any(target_arch = "wasm32", target_os = "ios")))'.dependencies.naga]
path = ".."
-version = "0.20.0"
+version = "0.19.4"
features = ["arbitrary", "spv-in", "wgsl-in", "glsl-in"]
[[bin]]
diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml
index c18a5066a..b92f15c79 100644
--- a/wgpu-core/Cargo.toml
+++ b/wgpu-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wgpu-core"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
edition = "2021"
description = "WebGPU core logic on wgpu-hal"
@@ -120,17 +120,17 @@ thiserror = "1"
[dependencies.naga]
path = "../naga"
-version = "0.20.0"
+version = "0.19.4"
[dependencies.wgt]
package = "wgpu-types"
path = "../wgpu-types"
-version = "0.20.0"
+version = "0.19.4"
[dependencies.hal]
package = "wgpu-hal"
path = "../wgpu-hal"
-version = "0.20.0"
+version = "0.19.4"
default-features = false
[build-dependencies]
diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml
index 96ee7ff95..937050277 100644
--- a/wgpu-hal/Cargo.toml
+++ b/wgpu-hal/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wgpu-hal"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
edition = "2021"
description = "WebGPU hardware abstraction layer"
@@ -116,7 +116,7 @@ glow = { version = "0.13.1", optional = true }
[dependencies.wgt]
package = "wgpu-types"
path = "../wgpu-types"
-version = "0.20.0"
+version = "0.19.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# backend: Vulkan
@@ -152,7 +152,7 @@ winapi = { version = "0.3", features = [
"winuser",
"dcomp",
] }
-d3d12 = { path = "../d3d12/", version = "0.20.0", optional = true, features = [
+d3d12 = { path = "../d3d12/", version = "0.19.4", optional = true, features = [
"libloading",
] }
@@ -183,7 +183,7 @@ ndk-sys = { version = "0.5.0", optional = true }
[dependencies.naga]
path = "../naga"
-version = "0.20.0"
+version = "0.19.4"
[build-dependencies]
cfg_aliases.workspace = true
@@ -191,7 +191,7 @@ cfg_aliases.workspace = true
# DEV dependencies
[dev-dependencies.naga]
path = "../naga"
-version = "0.20.0"
+version = "0.19.4"
features = ["wgsl-in"]
[dev-dependencies]
diff --git a/wgpu-types/Cargo.toml b/wgpu-types/Cargo.toml
index ea18e6b33..9b9c830f0 100644
--- a/wgpu-types/Cargo.toml
+++ b/wgpu-types/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wgpu-types"
-version = "0.20.0"
+version = "0.19.4"
authors = ["gfx-rs developers"]
edition = "2021"
description = "WebGPU types"
I mean, you can just do that to see if it works, then you can do it more professionally I guess