[wgsl] check binary component matrix polyfill once
Knowing whether or not the lhs and rhs are referenced multiple times
for the polyfill will clean up logic in a follow-up CL. This isolates
the change and ensures that none of the WGSL tests were affected.
Bug: b/465408252
Change-Id: Icf9e5000ed813b76a21971e06bbeb1badc00d9d1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1118577
Reviewed-by: Thomas Smith <thomsmit@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
1 file changed