[graphite] Incorporate coverage into blending
For now, this doesn't try to optimize opaque cases. That is, we always
pass false for skgpu::GetBlendFormula's isOpaque parameter.
This also makes ShaderInfo::toSkSL non-const, which seems appropriate given this comment in GetSkSLFS, in ContextUtils:
> Extract blend info after integrating the RenderStep into the final
> fragment shader in case that changes the HW blending choice to handle
> analytic coverage.
Bug: b/279039547
Change-Id: I730b3e40e45dc7073e85052a0df7059015c012a0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/688099
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: James Godfrey-Kittle <jamesgk@google.com>
11 files changed