vello/piet-wgsl/shader/shared
Raph Levien ef3ed3c9d7 Checkpoint of clip and gradient work
This is a checkpoint of partly completed work. Much of the GPU side is done, very little of the CPU side.

For clips, the clip_els bindings (binding 6 of draw_leaf) are not added. Clip logic is missing from coarse. The overflow buffer is missing from fine, as is its size calculation in coarse (but it should work as long as the max depth fits within BLEND_STACK_SPLIT).

For gradients, the texture binding is missing (binding 6) is missing from fine, as is the infrastructure in engine to deal with texture resources, and of course porting over the logic to fill it.

The code is not tested, bugs may lurk.
2022-11-10 19:48:36 -08:00
..
bbox.wgsl Shaders loaded 2022-11-03 16:53:34 -07:00
bump.wgsl Checkpoint 2022-11-03 19:37:38 -07:00
clip.wgsl Checkpoint of clip and gradient work 2022-11-10 19:48:36 -08:00
config.wgsl Checkpoint of clip and gradient work 2022-11-10 19:48:36 -08:00
cubic.wgsl Mostly working path rendering 2022-11-04 08:59:23 -07:00
drawtag.wgsl Another checkpoint 2022-11-01 13:55:58 -07:00
pathtag.wgsl Fix precedence issue 2022-11-08 19:30:47 -08:00
ptcl.wgsl Checkpoint of clip and gradient work 2022-11-10 19:48:36 -08:00
segment.wgsl Use 'C style' preprocessing in piet-wgsl (#194) 2022-10-27 15:27:46 +01:00
tile.wgsl Shaders loaded 2022-11-03 16:53:34 -07:00