code wiki / _hdl_build / nx_gpu_render.nx
nx_gpu_render.nx
buildroot/runtime/_hdl_build/nx_gpu_render.nx
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
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
structs
| none |
consts
| none |
functions
| 9 | func 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 } |
| 11 | func main(argc: i64, argv: *i64) -> i64 |