Commit graph

3 commits

Author SHA1 Message Date
Raph Levien 9afa9b86b6 Add encoding of flags into tag
Add a `TagFlags` type. You can write enum variants as `Variant(TagFlags,
Content)` and this will encode a u16 into the top 16 bits of the tag
word.
2021-03-02 11:56:02 -08:00
Raph Levien e86ea9eff4 [derive] Add writers, enums
This adds shader generation of writers (and cleans up some other
things) and much better support for enums.
2020-04-14 15:06:49 -07:00
Raph Levien 265d990cbe [derive] Add layout
Add a layout pass to the struct derive logic.
2020-04-12 16:44:28 -07:00