skia2/tests/sksl
John Stiles d2f51b1806 Fix fuzzer-discovered optimizer crash.
The CFG/definition map are no longer valid after replacing an expression
entirely. Swizzle-of-swizzle optimization was another case where the
optimizer would replace an expression wholesale, but failed to set the
needs-rescan flag.

Change-Id: Ida0363d738cd1d3ac2a48c824aa04065a7ca16b7
Bug: oss-fuzz:29085
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/351776
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
2021-01-08 13:03:02 +00:00
..
blend Deduplicate vector constants in SPIR-V output. 2021-01-06 21:05:50 +00:00
errors Fix fuzzer-discovered optimizer crash. 2021-01-08 13:03:02 +00:00
fp Make all fragmentProcessors implicitly nullable in SkSL 2020-12-23 20:22:18 +00:00
glsl Replace array indexing on vector types with swizzles. 2020-12-07 21:16:40 +00:00
inliner Constant-propagate the ! prefix onto constant boolean expressions. 2021-01-07 20:09:49 +00:00
intrinsics Fix type error with Metal mod(vec, float) intrinsic. 2021-01-05 18:07:04 +00:00
metal Add support for number(boolean) and boolean(number) casts in SkSL. 2021-01-05 21:19:45 +00:00
runtime Add SkVM support for conversion constructors to and from boolean. 2021-01-06 15:23:09 +00:00
shared Flatten nested vector constructors when emitting SPIR-V. 2021-01-07 15:47:11 +00:00
spirv Deduplicate vector constants in SPIR-V output. 2021-01-06 21:05:50 +00:00
workarounds Eliminate inliner temporary variables for top-level-exit functions. 2020-12-17 20:37:21 +00:00