Remove mat2-to-vec4-cast helper function from WGSL.
This helper function was adapted from the Metal implementation,
but isn't necessary in WGSL because we can split an expression
into multiple statements painlessly.
Change-Id: I80d1b60d4970cbc884e8c4846615b8d96a78b603
Bug: skia:14082
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/707676
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Arman Uguray <armansito@google.com>
5 files changed