chore: Hold wgpu and naga back until naga_oil updates to naga 0.12

This commit is contained in:
Nathan Adams 2023-04-24 00:46:46 +02:00
parent 3b3c08a354
commit d9241c914e
3 changed files with 48 additions and 68 deletions

106
Cargo.lock generated
View File

@ -242,7 +242,7 @@ version = "0.37.2+1.3.238"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28bf19c1f0a470be5fbf7522a308a05df06610252c5bcf5143e1b23f629a9a03"
dependencies = [
"libloading 0.7.4",
"libloading",
]
[[package]]
@ -585,7 +585,7 @@ checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f"
dependencies = [
"glob",
"libc",
"libloading 0.7.4",
"libloading",
]
[[package]]
@ -1028,7 +1028,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8f0de2f5a8e7bd4a9eec0e3c781992a4ce1724f68aec7d7a3715344de8b39da"
dependencies = [
"bitflags 1.3.2",
"libloading 0.7.4",
"libloading",
"winapi",
]
@ -1265,7 +1265,7 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac1b7517328c04c2aa68422fc60a41b92208182142ed04a25879c26c8f878794"
dependencies = [
"libloading 0.7.4",
"libloading",
]
[[package]]
@ -1608,6 +1608,15 @@ dependencies = [
"slab",
]
[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
"byteorder",
]
[[package]]
name = "gc-arena"
version = "0.2.2"
@ -1890,14 +1899,14 @@ dependencies = [
[[package]]
name = "hassle-rs"
version = "0.10.0"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1397650ee315e8891a0df210707f0fc61771b0cc518c3023896064c5407cb3b0"
checksum = "90601c6189668c7345fc53842cb3f3a3d872203d523be1b3cb44a36a3e62fb85"
dependencies = [
"bitflags 1.3.2",
"com-rs",
"libc",
"libloading 0.7.4",
"libloading",
"thiserror",
"widestring",
"winapi",
@ -2196,7 +2205,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c2352bd1d0bceb871cb9d40f24360c8133c11d7486b68b5381c1dd1a32015e3"
dependencies = [
"libc",
"libloading 0.7.4",
"libloading",
"pkg-config",
]
@ -2248,16 +2257,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "libloading"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d580318f95776505201b28cf98eb1fa5e4be3b689633ba6a3e6cd880ff22d8cb"
dependencies = [
"cfg-if 1.0.0",
"windows-sys 0.48.0",
]
[[package]]
name = "libm"
version = "0.2.6"
@ -2564,25 +2563,6 @@ dependencies = [
"num-traits",
"pp-rs",
"rustc-hash",
"termcolor",
"thiserror",
"unicode-xid",
]
[[package]]
name = "naga"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f00ce114f2867153c079d4489629dbd27aa4b5387a8ba5341bd3f6dfe870688f"
dependencies = [
"bit-set",
"bitflags 1.3.2",
"codespan-reporting",
"hexf-parse",
"indexmap",
"log",
"num-traits",
"rustc-hash",
"serde",
"spirv",
"termcolor",
@ -2596,21 +2576,21 @@ version = "0.1.0"
dependencies = [
"bitflags 2.1.0",
"insta",
"naga 0.12.0",
"naga",
"num-derive",
"num-traits",
]
[[package]]
name = "naga_oil"
version = "0.6.0"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8de7fb364c4c48b2d3441cba31240b4885336857960c726b0c2119464efde05"
checksum = "99f501e1de2b05a542e9bea75ea0f4141fb7368fe028cc8324c8c4648f1f75ff"
dependencies = [
"bit-set",
"codespan-reporting",
"data-encoding",
"naga 0.11.0",
"naga",
"once_cell",
"regex",
"regex-syntax 0.6.29",
@ -3409,9 +3389,9 @@ dependencies = [
[[package]]
name = "renderdoc-sys"
version = "1.0.0"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "216080ab382b992234dda86873c18d4c48358f5cfcb70fd693d7f6f2131b628b"
checksum = "f1382d1f0a252c4bf97dc20d979a2fdd05b024acd7c2ed0f7595d7817666a157"
[[package]]
name = "rfd"
@ -3620,7 +3600,7 @@ dependencies = [
"futures",
"gc-arena",
"image",
"naga 0.12.0",
"naga",
"naga-agal",
"naga_oil",
"once_cell",
@ -4869,15 +4849,15 @@ checksum = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
[[package]]
name = "wgpu"
version = "0.16.0"
version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13edd72c7b08615b7179dd7e778ee3f0bdc870ef2de9019844ff2cceeee80b11"
checksum = "d745a1b6d91d85c33defbb29f0eee0450e1d2614d987e14bf6baf26009d132d7"
dependencies = [
"arrayvec",
"cfg-if 1.0.0",
"js-sys",
"log",
"naga 0.12.0",
"naga",
"parking_lot",
"profiling",
"raw-window-handle",
@ -4894,21 +4874,21 @@ dependencies = [
[[package]]
name = "wgpu-core"
version = "0.16.0"
version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "625bea30a0ba50d88025f95c80211d1a85c86901423647fb74f397f614abbd9a"
checksum = "7131408d940e335792645a98f03639573b0480e9e2e7cddbbab74f7c6d9f3fff"
dependencies = [
"arrayvec",
"bit-vec",
"bitflags 2.1.0",
"bitflags 1.3.2",
"codespan-reporting",
"fxhash",
"log",
"naga 0.12.0",
"naga",
"parking_lot",
"profiling",
"raw-window-handle",
"ron",
"rustc-hash",
"serde",
"smallvec",
"thiserror",
@ -4919,19 +4899,20 @@ dependencies = [
[[package]]
name = "wgpu-hal"
version = "0.16.0"
version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41af2ea7d87bd41ad0a37146252d5f7c26490209f47f544b2ee3b3ff34c7732e"
checksum = "bdcf61a283adc744bb5453dd88ea91f3f86d5ca6b027661c6c73c7734ae0288b"
dependencies = [
"android_system_properties",
"arrayvec",
"ash",
"bit-set",
"bitflags 2.1.0",
"bitflags 1.3.2",
"block",
"core-graphics-types",
"d3d12",
"foreign-types",
"fxhash",
"glow",
"gpu-alloc",
"gpu-allocator",
@ -4940,17 +4921,16 @@ dependencies = [
"js-sys",
"khronos-egl",
"libc",
"libloading 0.8.0",
"libloading",
"log",
"metal",
"naga 0.12.0",
"naga",
"objc",
"parking_lot",
"profiling",
"range-alloc",
"raw-window-handle",
"renderdoc-sys",
"rustc-hash",
"smallvec",
"thiserror",
"wasm-bindgen",
@ -4961,11 +4941,11 @@ dependencies = [
[[package]]
name = "wgpu-types"
version = "0.16.0"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bd33a976130f03dcdcd39b3810c0c3fc05daf86f0aaf867db14bfb7c4a9a32b"
checksum = "32444e121b0bd00cb02c0de32fde457a9491bd44e03e7a5db6df9b1da2f6f110"
dependencies = [
"bitflags 2.1.0",
"bitflags 1.3.2",
"js-sys",
"serde",
"web-sys",
@ -4983,9 +4963,9 @@ dependencies = [
[[package]]
name = "widestring"
version = "1.0.2"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8"
checksum = "17882f045410753661207383517a6f62ec3dbeb6a4ed2acce01f0728238d1983"
[[package]]
name = "winapi"

View File

@ -9,10 +9,10 @@ version.workspace = true
[dependencies]
bitflags = "2.1.0"
naga = "0.12.0"
naga = "0.11.0"
num-derive = "0.3.3"
num-traits = "0.2.15"
[dev-dependencies]
insta = "1.29.0"
naga = { version = "0.12.0", features = ["wgsl-out", "validate"] }
naga = { version = "0.11.0", features = ["wgsl-out", "validate"] }

View File

@ -8,7 +8,7 @@ repository.workspace = true
version.workspace = true
[dependencies]
wgpu = { version = "0.16.0", features = ["naga"] }
wgpu = { version = "0.15.1", features = ["naga"] }
tracing = "0.1.37"
ruffle_render = { path = "..", features = ["tessellator"] }
bytemuck = { version = "1.13.1", features = ["derive"] }
@ -18,7 +18,7 @@ enum-map = "2.5.0"
fnv = "1.0.7"
swf = { path = "../../swf" }
image = { version = "0.24.6", default-features = false }
naga_oil = "0.6.0"
naga_oil = "0.5.0"
ouroboros = "0.15.6"
typed-arena = "2.0.2"
once_cell = "1.17.1"
@ -26,7 +26,7 @@ gc-arena = { workspace = true }
naga-agal = { path = "../naga-agal" }
downcast-rs = "1.2.0"
profiling = { version = "1.0", default-features = false, optional = true }
naga = { version = "0.12.0", features = ["validate", "wgsl-out"] }
naga = { version = "0.11.0", features = ["validate", "wgsl-out"] }
# desktop
[target.'cfg(not(target_family = "wasm"))'.dependencies.futures]