commit | 567a4a6c7c4c95438229a3e7b702875983a2a190 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Fri Feb 16 18:29:16 2024 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Feb 20 16:30:13 2024 +0000 |
tree | 9928643409e028b1d13ea8a2ae327c9e38cb3a4a | |
parent | 50e1b709781c1d51bf992a2c3e00aecbeff3e4f9 [diff] |
Optimize unread function parameter passing in SkRP. If a function never reads from a parameter at all, we don't need to pass it. We only need to ensure that the side effects from the expression occur. Change-Id: I9f0cdc11f8dcd7a0d526431fefad88efd346ece1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/815042 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>