code wiki / _hdl_build / nx_gpu_render.nx

nx_gpu_render.nx

buildroot/runtime/_hdl_build/nx_gpu_render.nx

7203 B50 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic gpu
docsdependenciesstructsconstsfunctions

about

nx_gpu_render.nx -- SOVEREIGN SOTA-render R1: the WebGL2 BEACHHEAD. Emits a self-contained HTML that renders a per-pixel-lit, high-DPI, tonemapped 3D sphere on the GPU via the browser's STANDARD WebGL2 API -- ZERO 3rd-party libraries (our own mat4, our own sphere generator, our own GLSL). Runs on Chrome/Edge/Firefox/ Safari AND on the Nishi browser/OS; feature-detects WebGL2 and degrades to a message pointing at the sovereign soft-raster surfaces. This proves GPU rendering is in play, sovereignly, cross-browser -- the unlock the render census named. usage: nx_gpu_render <out.html>. license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_gpu_render.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_openat_wr hw sys_write sys_close

structs

none

consts

none

functions

9func hw(fd: i64, s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(fd, s, n); return 0 }
called by 1: main calls 1: sys_write
11func main(argc: i64, argv: *i64) -> i64