code wiki / _hdl_build / nx_dx_exceed_census.nx

nx_dx_exceed_census.nx

buildroot/runtime/_hdl_build/nx_dx_exceed_census.nx

7913 B114 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_dx_exceed_census.nx -- MEASURED census of the sovereign Nishi GRAPHICS stack vs the SOTA APIs (DirectX 12, Vulkan 1.3, WebGPU, Metal 3) -- the operator's explicit ask: "get our own nishi direct x exceed via nishi researcher and census, better than direct x and all the other tooling." Parallels nx_vcodec_exceed_census: MEASURE OUR side (run the real sovereign rasterizer nx_raster_triangle_list -> triangles/sec + fill rate), fold in the MEASURED submission rate (nx_gpu_exceed_gate: 4.4M draw-cmds/s, 2-layer path), grade vs the incumbents' PUBLISHED/by-design characteristics (banked: sg_directx/ sg_direct3d/sg_vulkan/*_webgpu), and an OVERCLAIM CONTROL that forces RED unless it ADMITS hardware GPU execution is BEHIND (a CPU software rasterizer CANNOT out-fill silicon -- claiming so = a lie). Tells us HONESTLY where the sovereign graphics stack leads (submission depth / patent-freedom / portability / auditability / sovereignty) and trails (HW execution / shaders / RT / feature breadth). expect_exit: 0 license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_raster_triangle.nx nx_dx_exceed_census.nx

imports: nx_raster_triangle.nx

imported by: nobody (leaf or entry point)

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

main dw nx_raster_alloc_fb sys_mmap nx_raster_alloc_zb sys_mmap ↻ nx_raster_clear nx_raster_zbuffer_clear sys_now_us sys_mmap ↻ sys_clock_gettime_mono nx_raster_triangle_list nx_raster_triangle _clamp _min3 _max3 _same_sign_3 dn

structs

none

consts

13const K_MAGIC_4000: i64 = 4000
14const K_MAGIC_987654321: i64 = 987654321
15const K_MAGIC_1103515245: i64 = 1103515245
16const K_MAGIC_12345: i64 = 12345
17const K_MAGIC_400000: i64 = 400000
18const K_MAGIC_1000000: i64 = 1000000

functions

20func dw(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
21func dn(v: i64) -> i64
called by 1: main
26func main() -> i64