diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-17 02:04:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | e8662178dba9d779cbfaa290154ae78c61402d30 (patch) | |
| tree | 0c596949f7e31377765f1193461f72fd15164255 /docs/typ | |
| parent | 30a603341e3b23da6e5ab5995b060c8e4ec52242 (diff) | |
| download | pardes-e8662178dba9d779cbfaa290154ae78c61402d30.tar.gz pardes-e8662178dba9d779cbfaa290154ae78c61402d30.zip | |
gui: the renderer's shaders, instance ABI and GPU resource helpers are sketchbook's (src/gpu/), moved as they were, the first step of the GPU move: the seven GLSL shaders and their prebuilt SPIR-V leave shaders/ (crt.ci.metal stays), and CellInstance, OverlayVertex, ImageInstance, opaque_bg_bit, the vertex inputs, makePipeline, backgroundLayerBlend, makeShader, texture2d and growInstances (the device for the Gui) leave gui.zig for sketchbook's src/gpu/Cells.zig, built from the sketchbook checkout over gui.zig's own `c` as the Executor is (module gpu_cells; its instance-ABI test with it, run by unit-test); the embedded SPIR-V comes from sketchbook's GLSL through glslc, or its prebuilt copies with -Dprebuilt-shaders, under the same @embedFile names, byte for byte the same; the `shaders` refresh step is sketchbook's now; building.typ says so
Diffstat (limited to 'docs/typ')
| -rw-r--r-- | docs/typ/building.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ index 6bf7dfce..cf80bd3a 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`; `zig build shaders` refreshes it with glslc], + [`-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], [`-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], |
