<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sketchbook.git/src/gpu/shaders/image.vert.glsl, branch main</title>
<subtitle>A small Zig platform for sketching games and toys</subtitle>
<id>https://git.0x4200.cafe/sketchbook.git/atom?h=main</id>
<link rel='self' href='https://git.0x4200.cafe/sketchbook.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/'/>
<updated>2026-11-17T15:15:01Z</updated>
<entry>
<title>Add pardes's cell shaders, instance ABI and GPU resource helpers</title>
<updated>2026-11-17T15:15:01Z</updated>
<author>
<name>Gabriel Schneider</name>
<email>gbrls@0x4200.cafe</email>
</author>
<published>2026-11-17T04:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0x4200.cafe/sketchbook.git/commit/?id=43151809dac7041bd04bb5181abf7f1182ffea7f'/>
<id>urn:sha1:43151809dac7041bd04bb5181abf7f1182ffea7f</id>
<content type='text'>
Moved verbatim from pardes's src/gui/gui.zig (step S1 of moving its
renderer here): the seven GLSL shaders and their committed SPIR-V under
src/gpu/shaders/, and src/gpu/Cells.zig with the instance structs the
shaders read, the vertex inputs, makePipeline, the layer blend, texture2d
and growInstances (which takes the device instead of pardes's Gui).
Cells.zig imports the embedder's own SDL translation as `c`; pardes
compiles it from this checkout. `zig build shaders` refreshes the
prebuilt SPIR-V.
</content>
</entry>
</feed>
