code wiki / _hdl_build / nx_mw_f32_probe.nx
nx_mw_f32_probe.nx
buildroot/runtime/_hdl_build/nx_mw_f32_probe.nx
about
nx_mw_f32_probe.nx -- MINIMAL repro probe for the 2026-07-02 native-render regression (vox3d + mineworld
gates suddenly render sky-only; projection r[2] sign wrong / scene displaced). Exercises the exact f32+m4
path project() uses, printing ACTUAL vs hand-computed EXPECTED. Diagnostic only. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_f32_hw.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 7 | func hw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 8 | func pn(v: i64) -> i64 |
| 20 | func fr(num: i64, den: i64) -> i64 { return f32_div(f32_of(num), f32_of(den)) } |
| 22 | func pf(x: i64) -> i64 { pn(f32_int(f32_mul(x, f32_of(1000)))); return 0 } |
| 24 | func main() -> i64 |