From e8662178dba9d779cbfaa290154ae78c61402d30 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 17 Nov 2026 02:04:50 -0300 Subject: 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 --- docs/typ/building.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/typ/building.typ') 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], -- cgit v1.3