95d0badecf
Interestingly, this improves our codegen even with the optimizer fully enabled, as apparently statement chains like: `x = true; x = x; x = x;` were getting transformed by constant-propagation into: `x = true; x = true; x = true;` making them no longer candidates for self-assignment elimination. Change-Id: I6d94a809e94b01a00fd92459fcbce898b3cbbb11 Bug: skia:11343 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/377100 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
2 lines
1 B
GLSL
2 lines
1 B
GLSL
|