nx_sdfrender_mt.nx
buildroot/runtime/nx_sdfrender_mt.nx
about
nx_sdfrender_mt.nx -- R1c of the sovereign software-GPU ladder: the SDF renderer fanned out across CPU
cores on nx_thread_pool (the 2026-07-07 threading-toolchain close applied to a real organ). ADDITIVE lane:
nx_sdfrender itself stays single-threaded + wasm-safe; only THIS organ pulls in threads (native surfaces --
showcase, gates, asset bakers). DETERMINISM LAW: a row task writes ONLY its own fb rows and reads the part
arena read-only, so the threaded frame is BYTE-IDENTICAL to sdf_render under ANY scheduling. Gate-proven
(nx_sdfrender_mt_gate T1/T2/T5), not asserted. license_tier: ORIGINAL
dependencies 2 imports · 9 importers
imports: nx_sdfrender.nxnx_thread_pool.nx
imported by: nx_char_groom_gate.nxnx_face_project_gate.nxnx_face_style_gate.nxnx_faceanat_gate.nxnx_faceanat_morph_gate.nxnx_faceanat_stereo_gate.nxnx_gsplat_photofit_gate.nxnx_sdfrender_mt_gate.nxnx_swgpu_showcase.nx
structs
| 12 | struct SdfMtJob |
consts
| 22 | const SDFMT_JOB_BYTES: i64 = 64 |
functions
| 24 | func _sdfmt_task(ctx: i64) -> i64 calls 1: sdf_render_rows |
| 33 | func sdfmt_render_pool(pool: *NxThreadPool, base: i64, yaw: i64, camz_units: i64, skin_r: i64, skin_g: i64, skin_b: i64) -> i64 |
| 58 | func sdfmt_render(base: i64, yaw: i64, camz_units: i64, skin_r: i64, skin_g: i64, skin_b: i64, nworkers: i64) -> i64 |