From cec97650af3227c51ec9862df35f22ae06d1321b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 17 Nov 2026 13:33:30 -0300 Subject: build: sketchbook's GPU devices are under dev/draw/ now (src/gpu/ before): Executor, Cells, Present and the cell shaders found there, the option's help, gui.zig's comments and the book's two mentions following; nothing else; gui frame corpus 77/77 byte-identical against mbase, gui unit-test 1587/1595 (the four addon ABI tests the base fails), tui core-test 811/950 (139 skipped) --- docs/typ/building.typ | 2 +- docs/typ/reference.typ | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/typ/building.typ b/docs/typ/building.typ index 2b6e72b3..738b4ff0 100644 --- a/docs/typ/building.typ +++ b/docs/typ/building.typ @@ -65,7 +65,7 @@ must share with its session; `pardes --help` lists every flag. [`-Dtheme-animation`], [bool, `true`], [`-Dworkspace-tag`], [bool: draw the workspace tag row; on except for macOS, whose menu bar carries it], [`-Dmacos-sdk`], [path: the macOS SDK SDL's headers and frameworks come from, for a gui built for macOS elsewhere], - [`-Dprebuilt-shaders`], [bool: embed the committed SPIR-V; on for a bare `zig build`, off with `-Dplatform`; the shaders are sketchbook's (`src/gpu/shaders/`), and its `zig build shaders` refreshes the SPIR-V with glslc], + [`-Dprebuilt-shaders`], [bool: embed the committed SPIR-V; on for a bare `zig build`, off with `-Dplatform`; the shaders are sketchbook's (`dev/draw/shaders/`), and its `zig build shaders` refreshes the SPIR-V with glslc], [`-Dtracy`], [path to a Tracy checkout; off], [`-Dmacos-identity`], [codesigning identity for `pardes.app`; `-` (ad hoc)], [`-Dtest-filter`], [run only tests whose name contains it; a filter that matches nothing fails], diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 5ecbf476..db4f9c77 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -1493,8 +1493,8 @@ the scene, not that every view can render it. The SDL frontend runs scenes on its own GPU and composites their target textures; replicas carry the scene alongside the authoritative pane frame. -The scene codec and executor live in sketchbook (`src/gpu/scene.zig` and -`src/gpu/Executor.zig`). GPU support adds no required addon operation. +The scene codec and executor live in sketchbook (`dev/draw/scene.zig` and +`dev/draw/Executor.zig`). GPU support adds no required addon operation. `zig build snake-shader` builds `zig-out/lib/libsnake_shader.so` (with `glslc`). Load it with `Addon load /absolute/path/libsnake_shader.so`, then -- cgit v1.3