code wiki / (root) / nx_ir_world_identity_t206.nx

nx_ir_world_identity_t206.nx

buildroot/runtime/nx_ir_world_identity_t206.nx

1644 B12 linesdepth 10pulls 38 transitivereach 0 importersview sourcekind tooltopic ir
docsdependenciesstructsconstsfunctions

dependencies 3 imports · 0 importers

nx_wgsl_world_depth_t195.nx nx_sha256.nx nx_fs_create_lib.nx nx_ir_world_identity_t206.nx

imports: nx_wgsl_world_depth_t195.nxnx_sha256.nxnx_fs_create_lib.nx

imported by: nobody (leaf or entry point)

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

main iq_measure iq_sha sha256_digest 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 nxa_dump_sizes sha256_init sys_mmap ↻ sha256_seed_allocated sha256_k sha256_update sha256_compress_ni_blocks blk_set_byte sha256_compress sha256_compress_ni blk_word sha256_final blk_set_byte ↻ sha256_compress ↻ sha256_destroy sys_munmap sys_munmap ↻

structs

none

consts

none

functions

3func iq_sha(b:*u8,n:i64)->i64{if n<1{return 0};let digest:*u8=sys_mmap(32);let hex:*u8=sys_mmap(65);sha256_digest(b,n,digest);let digits:*u8="0123456789abcdef";var i:i64=0;while i<32{let v:i64=digest[i] as i64;hex[i*2]=digits[v/16];hex[i*2+1]=digits[v%16];i=i+1};hex[64]=0 as u8;fsx_puts(" SHA256=");fsx_puts(hex);return 0}
called by 1: iq_measure calls 1: sha256_digest
5func iq_measure(m:*i64,stage:i64,label:*u8)->i64
called by 1: main calls 1: iq_sha
12func main()->i64{let m:*i64=sir_new();shsrc_world_depth(m,ws_f(m,"0.08"),ws_f(m,"300.0"));return iq_measure(m,STAGE_FRAGMENT,"depth-world-fragment")}
calls 1: iq_measure