vello/shader/shared
Chad Brokaw 15cd306af6 Extend modes for gradients
This patch implements the pad, repeat and reflect extend modes for gradient brushes. Adds a new example demonstrating the functionality.

Also fixes a few bugs:
* Clamps alpha in blend.wgsl for the `blend_compose` function. The `Plus` mode was generating `alpha > 1.0` leading to incorrect rendering.
* Small change to radial gradients in fine.wgsl to reject pixels outside the cone when the circles don't nest. This requires further work to properly extend the cone when one of the radii is not 0.
2023-04-30 23:11:57 -04:00
..
bbox.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
blend.wgsl Extend modes for gradients 2023-04-30 23:11:57 -04:00
bump.wgsl Address review feedback 2023-01-18 21:36:32 -05:00
clip.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
config.wgsl fixes after rebase 2023-03-03 20:46:50 -05:00
cubic.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
drawtag.wgsl move atlas rect to info 2023-03-10 01:42:50 -05:00
pathtag.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
ptcl.wgsl Extend modes for gradients 2023-04-30 23:11:57 -04:00
segment.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00
tile.wgsl Move the vello crate to the workspace root (#231) 2023-01-05 09:32:09 +00:00