A compiled .kotoba guest (demo_gpu_clear.kotoba,
(gpu-clear -16776961), packed RGBA8 0xFF0000FF =
opaque red) calls a single synchronous host-import
(gpu_clear, module "kotoba") that clears this
canvas via a real WebGPU render pass. Device/adapter setup happens once,
host-side, async, before the guest ever runs — the
gpu_clear call itself is genuinely synchronous, no JSPI, no
Atomics.wait bridge. See src-cljs/kotoba/gpu_clear_host.cljs
and ADR-2607078000 (Track B Phase 0).
loading...