Skip to content

Commit

Permalink
fix: Point to the latest naga after gfx-rs/naga#2223 got merged
Browse files Browse the repository at this point in the history
  • Loading branch information
REASY committed Feb 3, 2023
1 parent 26faf4e commit 63b13fe
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ path = "./wgpu-hal"
version = "0.15"

[workspace.dependencies.naga]
git = "https://github.com/REASY/naga"
rev = "426d4b6883722b8d20927648fede8a8c4f42ebb5"
git = "https://github.com/gfx-rs/naga"
rev = "4b796b157cb2b67b0ab166a2238fe4e9473bfd52"
version = "0.11"

[workspace.dependencies]
arrayvec = "0.7"
Expand Down Expand Up @@ -131,8 +132,8 @@ termcolor = "1.1.2"
wgpu-core = { path = "./wgpu-core" }
wgpu-types = { path = "./wgpu-types" }

#[patch."https://github.com/gfx-rs/naga"]
#naga = { path = "../naga" }
[patch."https://github.com/gfx-rs/naga"]
naga = { path = "../naga" }

[patch."https://github.com/zakarumych/gpu-descriptor"]
#gpu-descriptor = { path = "../gpu-descriptor/gpu-descriptor" }
Expand Down
5 changes: 3 additions & 2 deletions wgpu-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ smallvec = "1"
thiserror = "1"

[dependencies.naga]
git = "https://github.com/REASY/naga"
rev = "426d4b6883722b8d20927648fede8a8c4f42ebb5"
git = "https://github.com/gfx-rs/naga"
rev = "4b796b157cb2b67b0ab166a2238fe4e9473bfd52"
version = "0.11"
features = ["clone", "span", "validate"]

[dependencies.wgt]
Expand Down
10 changes: 6 additions & 4 deletions wgpu-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,16 @@ libc = "0.2"
android_system_properties = "0.1.1"

[dependencies.naga]
git = "https://github.com/REASY/naga"
rev = "426d4b6883722b8d20927648fede8a8c4f42ebb5"
git = "https://github.com/gfx-rs/naga"
rev = "4b796b157cb2b67b0ab166a2238fe4e9473bfd52"
version = "0.11"
features = ["clone"]

# DEV dependencies
[dev-dependencies.naga]
git = "https://github.com/REASY/naga"
rev = "426d4b6883722b8d20927648fede8a8c4f42ebb5"
git = "https://github.com/gfx-rs/naga"
rev = "4b796b157cb2b67b0ab166a2238fe4e9473bfd52"
version = "0.11"
features = ["wgsl-in"]

[dev-dependencies]
Expand Down

0 comments on commit 63b13fe

Please sign in to comment.