commit | 7bd7ea2c8e58e8cda60a2cea9407ef2fcc263a05 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Jan 19 09:26:04 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Jan 19 17:36:54 2022 +0000 |
tree | 5e81f5aab7789d48145c9cd76deb122103e3d448 | |
parent | 3dcaf4ac1613c027d03f602cdd5fe357fb67aea0 [diff] |
Prevent no-op statements in GLSL code generator. This eliminates a handful of useless statements. They were harmless, but presumably this saves optimization work for the GLSL compiler. (Patterned after http://review.skia.org/496377 ) Change-Id: Ibe135750488a9917b982dcac67f22b3765412ee1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/496599 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: John Stiles <johnstiles@google.com>