skia /
skia /
4bdb18d7c149f50498d12e6e18732d095b9fe233 Demonstrate effect specialization fan-out.
Nested function specialization can lead to exponential growth in
output code, if abused. Add a test that demonstrates this behavior
to make sure that we handle it gracefully.
We don't enforce a hard limit, so eventually this approach would
exceed the maximum program size. We would want to solve this before
allowing specialization in public Runtime Effects.
Change-Id: I4bc5726574975f9f0bdd1306541de2607fd5d53f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/885256
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
7 files changed