feat(build): compile SPIR-V with rust native code

This commit is contained in:
Chance 2025-04-27 01:28:21 -04:00
parent c86be3ca3d
commit 25068a7679
Signed by untrusted user: caznix
GPG key ID: 489D213143D753FD
3 changed files with 127 additions and 23 deletions

24
Cargo.lock generated
View file

@ -384,6 +384,12 @@ dependencies = [
"piper",
]
[[package]]
name = "build-print"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a2128d00b7061b82b72844a351e80acd29e05afc60e9261e2ac90dca9ecc2ac"
[[package]]
name = "built"
version = "0.7.7"
@ -1359,6 +1365,7 @@ dependencies = [
"num-traits",
"once_cell",
"petgraph",
"pp-rs",
"rustc-hash",
"spirv",
"strum",
@ -1944,6 +1951,15 @@ version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
[[package]]
name = "pp-rs"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb458bb7f6e250e6eb79d5026badc10a3ebb8f9a15d1fff0f13d17c71f4d6dee"
dependencies = [
"unicode-xid",
]
[[package]]
name = "ppv-lite86"
version = "0.2.21"
@ -2775,6 +2791,12 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
[[package]]
name = "unicode-xid"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
[[package]]
name = "v_frame"
version = "0.3.8"
@ -3686,9 +3708,11 @@ name = "zenyx"
version = "0.1.0"
dependencies = [
"allocator-api2",
"build-print",
"bytemuck",
"cgmath",
"image",
"naga",
"smol",
"terminator",
"thiserror 2.0.12",