summaryrefslogtreecommitdiff
path: root/src/gpu/shaders/overlay.frag.glsl
Commit message (Collapse)AuthorAge
* Add pardes's cell shaders, instance ABI and GPU resource helpersGabriel Schneider3 hours
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.