code wiki / (root) / nx_nxa_texbake_gate.nx

nx_nxa_texbake_gate.nx

buildroot/runtime/nx_nxa_texbake_gate.nx

16035 B369 linesdepth 6pulls 16 transitivereach 0 importersview sourcekind gate/prooftopic nxa
docsdependenciesstructsconstsfunctions

about

nx_nxa_texbake_gate.nx -- GATE for texture-ladder rungs 2b+3+4 (debt 1786546859). Fixture ASSEMBLED AT RUNTIME with joints at CONTROLLED anatomy (permil/laterality) so region classification is asserted EXACTLY. Anti-vacuity: determinism vs seed-grain, palette discrimination across regions, EVENNESS (anti-blotch), and seed-A-vs-seed-B textured renders must DIFFER (proves per-fragment sampling is load-bearing end-to-end). Neg-control: bake without TEXC refuses named. Real asset behind gv_need writes the published artifacts. license_tier: ORIGINAL expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_nxa.nx nx_nxa_texc_lib.nx nx_nxa_texbake_lib.nx nx_gate_verdict.nx nx_nxa_texbake_gate.nx

imports: nx_syscalls.nxnx_nxa.nxnx_nxa_texc_lib.nxnx_nxa_texbake_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ gb_mkfix sys_mmap ↻ nt_wr64 nxa_magic nxa_tag4 nxa_check2 gb_wfile sys_openat_wr sys_write ↻ sys_close gv_check gv_puts ↻ ntx_apply sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap

structs

none

consts

13const GB_NV: i64 = 6
14const GB_NJ: i64 = 5
15const GB_RES: i64 = 128

functions

17func gb_wfile(path: *u8, b: *u8, n: i64) -> i64
26func gb_mkfix(path: *u8) -> i64
116func gb_flen(path: *u8, bout: *i64) -> i64
called by 1: main calls 2: sys_mmapsys_read_file
122func gb_bytes_eq(a: *u8, b: *u8, n: i64) -> i64
called by 1: main
129func main() -> i64