nx_nxa_gpu_gate.nx
buildroot/runtime/nx_nxa_gpu_gate.nx
about
Qualify native GPU geometry packing with IEEE-754 witnesses and real NXA assets.
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_nxa_gpu_lib.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
| 5 | const GG_WORD: i64=8 |
| 6 | const GG_TOC: i64=4 |
| 7 | const GG_SECTIONS: i64=2 |
| 8 | const GG_VERT: i64=GG_TOC+GG_SECTIONS*GG_TOC |
| 9 | const GG_TRIS: i64=GG_VERT+1+NGP_COMPONENTS |
| 10 | const GG_WORDS: i64=GG_TRIS+1+NGP_COMPONENTS |
| 11 | const GG_ONE_F32: i64=1065353216 // IEEE-754 +1 |
| 12 | const GG_NEG_TWO_F32: i64=3221225472 // IEEE-754 -2 |
| 13 | const GG_ROUND_INPUT: i64=16777217 // 2^24+1: midpoint, rounds to even. |
| 14 | const GG_ROUND_F32: i64=1266679808 // IEEE-754 2^24 |
| 15 | const GG_SENTINEL: i64=165 |
| 24 | const GG_SKIN_SECTIONS: i64=3 |
| 25 | const GG_SKIN_VERT: i64=GG_TOC+GG_SKIN_SECTIONS*GG_TOC |
| 26 | const GG_SKIN_SKEL: i64=GG_SKIN_VERT+1+NGP_COMPONENTS |
| 27 | const GG_SKIN_DATA: i64=GG_SKIN_SKEL+1+NGP_SKEL_WORDS |
| 28 | const GG_SKIN_TOTAL: i64=GG_SKIN_DATA+1+NGP_SKIN_WORDS |
| 29 | const GG_HALF_F32: i64=1056964608 // IEEE-754 1/2 |
| 30 | const GG_QUARTER_F32: i64=1048576000 // IEEE-754 1/4 |
| 31 | const GG_UV_MAX_F32: i64=1065352960 // IEEE-754 largest unsigned Q16 fractional coordinate. |
| 32 | const GG_EIGHTH_F32: i64=1040187392 // IEEE-754 1/8 |
functions
| 17 | func gg_seal(h: *i64) -> i64 called by 1: main |
| 33 | func gg_skin_seal(h: *i64) -> i64 |
| 43 | func gg_skin(c: *i64) -> i64 |
| 84 | func gg_texcoords(c: *i64) -> i64 |
| 130 | func gg_normals(c: *i64) -> i64 |
| 164 | func main(argc: i64,argv: *i64) -> i64 |