Add support for diagonal matrix contructors in RP codegen.
This fixes four existing tests, and also allows us to enable test
MatrixConstructorsES3, which did not reliably pass on any other
platform. (SkVM did not support non-square matrices, and it was
disabled on GPU due to poor driver support.)
Change-Id: I5a5d7cc1b1e10afdd5541020261cbe36d79e42a0
Bug: skia:13676
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/627856
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2 files changed