Files
airdef/tools/rt-probe/Cargo.toml
T
chexit 80d0cc9c43
build / mod (push) Failing after 1m21s
Add native wgpu ray-query capability probe (#125)
Stage 1 of #125: prove or disprove real hardware ray-tracing support without
touching the client renderer. The probe pins the same wgpu 30.0.1 stack as the
engine, including its vendored third_party/wgpu-hal patch, builds one BLAS/TLAS
and traces a 16x16 ray-query compute frame, checking every ray against a CPU
point-in-triangle expectation.

Verified on macOS aarch64, Apple M5 / Metal: BLAS/TLAS and the ray-query
pipeline build, 32 hits and 224 misses all match, exit 0. RT_PROBE_BACKEND=gl
reports no RT adapter and exits 2; RT_PROBE_NO_OPTIN=1 shows request_device
rejects EXPERIMENTAL_RAY_QUERY without the experimental opt-in and exits 2.

tools/rt-probe/target/ is ignored; the probe is a standalone workspace and is
not wired into the game build.

Co-Authored-By: Kimi Code <noreply@moonshot.ai>
2026-11-20 21:34:07 +03:00

27 lines
1.2 KiB
TOML

[package]
name = "airdef-rt-probe"
version = "0.1.0"
edition = "2024"
publish = false
# Same pin as the engine at the recorded gitlink (horizon/crates/horizon-client/Cargo.toml):
# wgpu 30.0.1 plus the engine's vendored wgpu-hal patch. The probe is a capability test,
# not a renderer; it never touches the game or the mod.
[dependencies]
wgpu = { version = "=30.0.1", default-features = false, features = ["std", "parking_lot", "vulkan", "metal", "dx12", "gles", "wgsl", "naga-ir"] }
pollster = "0.4"
# Caret reqs would float the stack to 30.0.2; the engine lock pins 30.0.1.
naga = { version = "=30.0.1", default-features = false }
naga-types = { version = "=30.0.1", default-features = false }
wgpu-core = { version = "=30.0.1", default-features = false }
wgpu-types = { version = "=30.0.1", default-features = false }
wgpu-naga-bridge = { version = "=30.0.1", default-features = false }
wgpu-core-deps-apple = { version = "=30.0.1", default-features = false }
wgpu-core-deps-emscripten = { version = "=30.0.1", default-features = false }
wgpu-core-deps-windows-linux-android = { version = "=30.0.1", default-features = false }
[patch.crates-io]
wgpu-hal = { path = "../../horizon/third_party/wgpu-hal" }
[workspace]