# Checks the WGSL gate kernel of wai-quantum (quantum_fabric::wgsl::SHADER) under # naga 30.0.1, the shader translator the native WebGPU member compiles it with: # the rules the kernel's bit-exactness argument rests on, on naga's IR, and # translation to MSL, SPIR-V and HLSL. # # Deliberately a SEPARATE crate with its own lockfile: naga is a dependency here # only, and never compiles in wai-quantum's own builds or tests. [package] name = "quantum-wgsl-check" version = "0.0.0" edition = "2024" rust-version = "1.97" license = "Apache-2.0" publish = false [dependencies] naga = { version = "30.0.1", default-features = false, features = ["wgsl-in", "spv-out", "msl-out", "hlsl-out"] } wai-quantum = { path = "../../wai-quantum", default-features = false, features = ["quantum_fabric"] }