summaryrefslogtreecommitdiff
path: root/docs/render-pipeline.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/render-pipeline.md')
-rw-r--r--docs/render-pipeline.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/render-pipeline.md b/docs/render-pipeline.md
index 7c94fbea..b8f735d9 100644
--- a/docs/render-pipeline.md
+++ b/docs/render-pipeline.md
@@ -460,7 +460,9 @@ Mirror ghostty 1.3.2 (`zig-pkg/ghostty-*/src/renderer/shadertoy.zig`,
iBackgroundColor, iForegroundColor, iCursorColor, iCursorText,
iSelectionForegroundColor, iSelectionBackgroundColor; CURSORSTYLE_* defines;
`#define texture2D texture`), but SDL GPU bindings: `iChannel0` at set 2
- binding 0, the block at set 3 binding 0. `main()` calls
+ binding 0, the block at set 3 bindings 0 to 2 (cut before and after
+ iPalette: SDL GPU binds at most 4 KiB of a block, so one block left
+ the colours after the palette at zero until G4), pardes's own at 3. `main()` calls
`mainImage(_fragColor, gl_FragCoord.xy)`. Trap found: ghostty's Zig
`Uniforms` (shadertoy.zig:13) orders selection_background before
selection_foreground while its GLSL block orders Foreground before Background,