nx_graphics_demo_test.nx
buildroot/runtime/nx_graphics_demo_test.nx
about
nx_graphics_demo_test.nx -- end-to-end G1 pipeline KAT.
Proves the full bits-up graphics path from raster to viewable image:
alloc fb -> clear black -> rasterize triangle (Pineda edge fn) ->
present via swapchain (PPM_BUFFER destination) -> verify PPM bytes
Composes:
nx_framebuffer.nx (i64 cell buffer + clear + set + pack_rgba)
nx_raster_sw.nx (Pineda triangle rasterizer)
nx_swapchain.nx (destination abstraction)
nx_ppm_writer.nx (PPM P6 serializer, via swapchain)
This is the substrate-honest "see it work end-to-end" gate for
NISHI_GRAPHICS_ROADMAP G1. Same primitives, ONE call.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_framebuffer.nxnx_raster_sw.nxnx_swapchain.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
| 22 | func main() -> i64 |