skia2/tests/sksl/runtime_errors/Ossfuzz36655.skvm
John Stiles 9d82e61c90 Only perform unrolled-size check on valid code.
This analysis pass assumes we have a program with a valid structure--all
loops must be ES2-compliant, and all function-calls must reference real
functions that exist. If we detected an error during compilation, our
program might not meet these criteria.

Change-Id: I4c7aefb3221438643614f1e0cbc2bad40b94b161
Bug: skia:12396
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/444982
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2021-09-03 15:51:11 +00:00

9 lines
239 B
Plaintext

### Compilation failed:
error: 20: static if has non-static test
error: 24: static if has non-static test
error: 31: static if has non-static test
error: 38: static if has non-static test
error: 44: static if has non-static test
5 errors