[rs] Update naga to gfx-21

This commit is contained in:
Dzmitry Malyshau 2021-04-11 01:25:42 -04:00
parent b47b77798b
commit 9bd4b34d5a

View File

@ -28,20 +28,20 @@ cross = ["wgc/cross"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "e430cf4bcc10aea447f637067fe81c75c80f0e46"
rev = "27dbf076d5e257e14c816b052fcfdb25c165eda3"
features = ["raw-window-handle"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "e430cf4bcc10aea447f637067fe81c75c80f0e46"
rev = "27dbf076d5e257e14c816b052fcfdb25c165eda3"
features = ["raw-window-handle"]
optional = true
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "e430cf4bcc10aea447f637067fe81c75c80f0e46"
rev = "27dbf076d5e257e14c816b052fcfdb25c165eda3"
[dependencies]
arrayvec = "0.5"
@ -71,13 +71,13 @@ env_logger = "0.8"
# used to test all the example shaders
[dev-dependencies.naga]
git = "https://github.com/gfx-rs/naga"
tag = "gfx-20"
tag = "gfx-21"
features = ["wgsl-in"]
# used to generate SPIR-V for the Web target
[target.'cfg(target_arch = "wasm32")'.dependencies.naga]
git = "https://github.com/gfx-rs/naga"
tag = "gfx-20"
tag = "gfx-21"
features = ["wgsl-in", "spv-out"]
[[example]]