skia /
skia /
3ce4ae54853039f0503b2dc1ee435938792a0703 [graphite] Split cubic and regular image shader snippets
This is a pretty minimal change to split cubic and HW sampled images
into two shader nodes. It doesn't update YUV[A] image shaders yet.
The block specification and uniform writing has some duplicated logic,
but that may be addressable down the line if we can nest image samples
under a higher-level cubic shader block. This would be possible if
the colorspace transforms were moved to separate blocks as well.
Bug: b/293491010
Change-Id: I46d785d9d9dc05125657e2350af0973ec28c3839
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/731040
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: James Godfrey-Kittle <jamesgk@google.com>
9 files changed