vello/piet-gpu
Elias Naur a5b6bda941 add support for element flags to shaders
Commit 9afa9b86b6 added Rust support for
encoding flags into elements. This change adds support to shaders by
introducing variant tag structs:

struct VariantTag {
    uint tag;
    uint flags;
}

and returning them from Variant_tag functions.

It also adds a flags argument to write functions for enum variants that
include TagFlags.

No functionality changes.

Updates #70

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2021-03-19 12:50:12 +01:00
..
bin ensure consistent path segment transformation 2021-03-19 12:45:23 +01:00
shader add support for element flags to shaders 2021-03-19 12:50:12 +01:00
src implement FillImage command and sRGB support 2021-03-19 12:50:12 +01:00
Cargo.toml Update dependencies 2020-11-14 08:25:43 -08:00
Ghostscript_Tiger.svg Fills 2020-05-01 19:42:20 -07:00