summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 14:45:02 -0300
committerGabriel Schneider <[email protected]>2026-11-17 14:53:20 -0300
commitb4faa9da0530be0391a7cc61eb4ea1e4cdbfa038 (patch)
tree33e7a733af74d2718cb4a133228e37dbdc25e0a1 /docs
parent3e77fdcd57693b337d915873e9919de2e1ec6521 (diff)
parent5467df693e6aba8fd17d6acd035ac28cc1b620ef (diff)
downloadpardes-b4faa9da0530be0391a7cc61eb4ea1e4cdbfa038.tar.gz
pardes-b4faa9da0530be0391a7cc61eb4ea1e4cdbfa038.zip
integration: the build script made readable, with sketchbook's files where step 1 of its reorganisation put them
A merge of pardes-build-2 (uukslmmu) and reorg-1 (nrsxpmro). One conflict, build.zig: the restructured script is kept and the moved paths (sketchbook's src/gpu/ is dev/draw/, src/font/Atlas.zig is dev/text/Atlas.zig) are applied where those lines live now, build/gui.zig and one option's description. Against sketchbook's reorg-1: frame corpus 77/77 identical in Debug (baseline .scratch/sketch/gpu/mbase), unit-test on gui 1587/1595 with no failure the baseline has not; on tui core-test 811/950 (139 skipped), shell-test 993/996, syntax-test 40/40. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs')
-rw-r--r--docs/typ/building.typ2
-rw-r--r--docs/typ/reference.typ4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ
index 0c95914c..6b0e812a 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.
[`-Dstamp-commit`], [bool: the git commit in `--version` and crash records; on for release builds and the `~/.local` install],
[`-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