6d0234673a
The fuzzer has found that it can get timeouts in SkVM by nesting loops very very deeply, then at the bottom of the chain, making an inside-out loop that runs for zero iterations. This has a calculated unrolled-size of zero, but SkVM would still think hard about unrolling the (ultimately empty) outer loops. SkSL now optimizes away unrollable loops that run for zero iteratinons, as well as empty unrollable loops. This should eliminate the fuzzer's troublesome construct entirely. Change-Id: Ic3ef7b7a6a9fc7ee7fb13eb7bd7f34c9bff57448 Bug: oss-fuzz:39661 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/456469 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> |
||
---|---|---|
.. | ||
blend | ||
errors | ||
folding | ||
glsl | ||
inliner | ||
intrinsics | ||
metal | ||
runtime | ||
runtime_errors | ||
shared | ||
spirv | ||
workarounds | ||
README.txt |
This directory contains skslc-compiled output from matching source files in the /resources/sksl/ directory.