commit | 6fae0523629f9abf114d8b7413f71dc7295a13e0 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Nov 10 14:06:52 2021 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Nov 10 21:38:56 2021 +0000 |
tree | 3ab657d6c48033f69a0c868a028171fd17209a9e | |
parent | d7936dcda08432e2e80a66404cfcb7a07747c9fd [diff] |
Implement constant folding for index expressions into matrices. Indexing into a constant matrix is a constant expression, so we are obligated to support it for ES2 compatibility. Change-Id: Ibe1e5bac39d9a88ce0222997a38e8b6952fdb336 Bug: skia:12472 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/469819 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>