convert the replacement modules to wesl

This commit is contained in:
2026-10-05 22:57:58 +01:00
parent 55fc36812a
commit 286e8c2110
13 changed files with 317 additions and 289 deletions
Generated
+106 -6
View File
@@ -1577,7 +1577,7 @@ dependencies = [
"serde",
"thiserror 2.0.21",
"tracing",
"wesl",
"wesl 0.4.2",
"wgpu-types",
]
@@ -1778,12 +1778,15 @@ dependencies = [
"glam",
"half",
"hexasphere",
"naga",
"regex",
"rspirv",
"serde",
"serde_json",
"tape-load",
"thiserror 2.0.21",
"tracing",
"wesl 0.6.0",
"wgpu",
"wgpu-types",
]
@@ -5248,7 +5251,7 @@ dependencies = [
"security-framework",
"security-framework-sys",
"webpki-root-certs",
"windows-sys 0.52.0",
"windows-sys 0.61.2",
]
[[package]]
@@ -5385,6 +5388,15 @@ dependencies = [
"zmij",
]
[[package]]
name = "serde_spanned"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6662b5879511e06e8999a8a235d848113e942c9124f211511b16466ee2995f26"
dependencies = [
"serde_core",
]
[[package]]
name = "sha3"
version = "0.10.9"
@@ -5746,6 +5758,21 @@ dependencies = [
"pin-project-lite",
]
[[package]]
name = "toml"
version = "1.1.6+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a"
dependencies = [
"indexmap",
"serde_core",
"serde_spanned",
"toml_datetime",
"toml_parser",
"toml_writer",
"winnow",
]
[[package]]
name = "toml_datetime"
version = "1.1.1+spec-1.1.0"
@@ -5776,6 +5803,12 @@ dependencies = [
"winnow",
]
[[package]]
name = "toml_writer"
version = "1.1.2+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
[[package]]
name = "tracing"
version = "0.1.44"
@@ -6191,11 +6224,39 @@ dependencies = [
"itertools 0.15.0",
"num-traits",
"thiserror 2.0.21",
"wesl-macros",
"wgsl-parse",
"wgsl-types",
"wesl-macros 0.4.2",
"wgsl-parse 0.4.2",
"wgsl-types 0.4.2",
]
[[package]]
name = "wesl"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdd8f9619baa4c7bde4df0899d6f626b70ee92d6e9c18c5f74473419b5bb6fa6"
dependencies = [
"annotate-snippets",
"anstream",
"derive_more",
"glob",
"half",
"itertools 0.15.0",
"num-traits",
"serde",
"thiserror 2.0.21",
"toml",
"wesl-core",
"wesl-macros 0.6.0",
"wgsl-parse 0.6.0",
"wgsl-types 0.6.0",
]
[[package]]
name = "wesl-core"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84dd3e600497eda0b47afcd21bd84c8953a9dfce7e93ed27a38ba97ac0747e03"
[[package]]
name = "wesl-macros"
version = "0.4.2"
@@ -6208,6 +6269,18 @@ dependencies = [
"syn 3.0.6",
]
[[package]]
name = "wesl-macros"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac8767ec26e75262a8e581d5f188b1f63a288baaf885bb33c9f4f73a693e06fc"
dependencies = [
"itertools 0.15.0",
"proc-macro2",
"quote",
"syn 3.0.6",
]
[[package]]
name = "wgpu"
version = "30.0.1"
@@ -6394,7 +6467,23 @@ dependencies = [
"lexical",
"logos",
"thiserror 2.0.21",
"wgsl-types",
"wgsl-types 0.4.2",
]
[[package]]
name = "wgsl-parse"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37cee524ba5cfabfd65d10a316b646f8a4c50f3663e7e787471f21b783261f47"
dependencies = [
"annotate-snippets",
"derive_more",
"itertools 0.15.0",
"lalrpop-util",
"lexical",
"logos",
"thiserror 2.0.21",
"wgsl-types 0.6.0",
]
[[package]]
@@ -6408,6 +6497,17 @@ dependencies = [
"num-traits",
]
[[package]]
name = "wgsl-types"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e119dd12e57d937397535201959ddddb5dbf26505402db5ef305ebb1ca9a7e5f"
dependencies = [
"half",
"itertools 0.15.0",
"num-traits",
]
[[package]]
name = "winapi"
version = "0.3.9"