code wiki / (root) / nx_gpu_exceed_gate.nx

nx_gpu_exceed_gate.nx

buildroot/runtime/nx_gpu_exceed_gate.nx

6891 B88 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic gpu
docsdependenciesstructsconstsfunctions

about

nx_gpu_exceed_gate.nx -- MEASURED DirectX exceed: the sovereign graphics SUBMISSION path vs DirectX. Operator bar: "s-class exceed BETTER than native DirectX, not just it can do a triangle." The honest, defensible exceed is on the CPU-SUBMISSION axis -- exactly the bottleneck DX12/Vulkan/Mantle were created to escape from DX11's driver stack. DirectX path (documented, by-design): app -> D3D runtime -> user-mode driver -> DXGK kernel -> kernel-mode driver -> GPU = 5 layers, with per-draw VALIDATION/TRANSLATION in the driver (the DX11 draw-call bottleneck). Sovereign path: app -> GPFIFO pushbuffer encode -> doorbell -> GPU = 2 layers, NO driver-validation layer (we encode the GF100 method stream directly, proven by the BM-GPU gates). This gate MEASURES our side (draw-command encode throughput, bytes/draw, path depth = real numbers) and grades vs DirectX's by-design architecture, with an OVERCLAIM CONTROL that forces RED unless it admits the axes where we are BEHIND (real-silicon execution, feature breadth). HONEST SCOPE: this measures SUBMISSION/ENCODE (CPU producing draw commands -- the "superior produce" axis), which is structural + measured. End-to-end RENDER FPS vs DirectX needs the silicon last-mile (BM-GPU-6/7) and is NOT claimed here. expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_gate_verdict.nx nx_gpu_exceed_gate.nx

imports: nx_syscalls.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 ge_puts sys_write sys_mmap emit_one_draw ge_hdr ge_wr32 ge_wr32 ↻ sys_now_us sys_mmap ↻ sys_clock_gettime_mono ge_num sys_mmap ↻ sys_write ↻ gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻ sys_exit

structs

none

consts

none

functions

17func ge_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
18func ge_num(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{m=0-m;sys_write(1,"-" as *u8,1)} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 }
called by 1: main calls 2: sys_mmapsys_write
19func ge_wr32(b: *u8, o: i64, v: i64) -> i64 { b[o]=(v&0xff) as u8; b[o+1]=((v>>8)&0xff) as u8; b[o+2]=((v>>16)&0xff) as u8; b[o+3]=((v>>24)&0xff) as u8; return 0 }
called by 2: ge_hdremit_one_draw
20func ge_hdr(b: *u8, o: i64, method: i64) -> i64 { ge_wr32(b, o, (1<<29)|(1<<16)|((method>>2)&0xfff)); return o+4 }
called by 1: emit_one_draw calls 1: ge_wr32
23func emit_one_draw(buf: *u8, o: i64) -> i64
called by 1: main calls 2: ge_hdrge_wr32
32func main() -> i64