commit | bb3d8185f067581e26b903586ee1c23e3373cbb7 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Feb 15 16:16:11 2023 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Feb 15 21:16:41 2023 +0000 |
tree | af71666123354d8152c56efa4829e95373bc2b71 | |
parent | 4526b46e4694f568109d880ae58331d7f9882068 [diff] |
Fix precedence when operator-assigning to swizzles in Metal. Previously, we were failing to parenthesize these expressions correctly. This was discovered by a React Native user: https://github.com/Shopify/react-native-skia/issues/1300 Bug: skia:14123 Change-Id: I772a13ff7097bdc724b56a19b73f459809985c2c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/644317 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>