nx_nxa_garment_bind_candidate_t132.nx
buildroot/runtime/nx_nxa_garment_bind_candidate_t132.nx
about
Deterministic garment-to-body binding, shared by asset preparation and worker conversion.
dependencies 1 imports · 1 importers
imports: nx_nxa_gpu_lib.nx
imported by: nx_nxa_garment_pack_gate_t132.nx
structs
| none |
consts
| 4 | const NGB_WORD: i64=8 |
| 5 | const NGB_COORD_LIMIT: i64=1<<NGP_F32_INTEGER_BITS // Exact integer positions in the incumbent float32 upload. |
| 6 | const NGB_E_POLICY: i64=0-20 |
| 7 | const NGB_E_COORD: i64=0-21 |
| 8 | const NGB_E_CANDIDATE: i64=0-22 |
| 79 | const NGB_CLIP_E_INPUT:i64=-30 |
| 80 | const NGB_CLIP_E_RANGE:i64=-32 |
| 81 | const NGB_CLIP_I64_MAX:i64=9223372036854775807 |
| 109 | const NGB_ATTACH_HDR:i64=12 |
| 110 | const NGB_ATTACH_REC:i64=8 |
| 111 | const NGB_ATTACH_COORD_MAX:i64=16777216 |
| 112 | const NGB_ATTACH_E_SOURCE:i64=-40 |
| 113 | const NGB_ATTACH_E_SHAPE:i64=-41 |
| 114 | const NGB_ATTACH_E_GEOMETRY:i64=-42 |
| 162 | const NGB_PACK_HEADER:i64=64 |
| 163 | const NGB_PACK_VERTEX:i64=44 |
| 164 | const NGB_E_PACK_INDEX:i64=-43 |
| 165 | const NGB_E_PACK_EXTENT:i64=-44 |
functions
| 10 | func ngb_coordinates(h: *i64,at: i64) -> i64 called by 1: ngb_map |
| 23 | func ngb_map(b: *u8,n: i64,out: *u8,cap: i64,step: i64,lower_band: i64) -> i64 |
| 82 | func ngb_abs(x:i64)->i64{if x<0{return 0-x};return x} called by 1: ngb_clip_area_ratio_v1 |
| 83 | func ngb_clip_product(a:i64,b:i64)->i64 called by 1: ngb_clip_area_ratio_v1 |
| 86 | func ngb_clip_gcd(a:i64,b:i64)->i64 {var x:i64=a;var y:i64=b;while y>0{let z:i64=x%y;x=y;y=z};return x} called by 1: ngb_clip_area_ratio_v1 |
| 91 | func ngb_clip_area_ratio_v1(poly:*i64,n:i64,result:*i64)->i64 |
| 116 | func ngb_attach_source_v1(b:*u8,n:i64)->i64 called by 1: ngb_attach_validate_v1 |
| 124 | func ngb_attach_face_v1(pos:*i64,idx:*i64,face:i64)->i64 called by 1: ngb_attach_validate_v1 |
| 132 | func ngb_attach_validate_v1(b:*u8,n:i64,s:*i64,nw:i64,work:*i64,work_words:i64)->i64 called by 1: ngb_attachment_bytes_v1 calls 3: ngb_attach_source_v1ngb_attach_face_v1ngb_clip_area_ratio_v1 |
| 167 | func ngb_source_index_f32_v1(v:i64,nv:i64)->i64 |
| 174 | func ngb_attachment_bytes_v1(b:*u8,n:i64,work:*i64,work_bytes:i64)->i64 called by 2: ngb_attachment_pack_v1main calls 3: ngp_outputngb_attach_validate_v1ngb_source_index_f32_v1 |
| 192 | func ngb_attachment_pack_v1(b:*u8,n:i64,out:*u8,cap:i64,work:*i64,work_bytes:i64)->i64 |