commit | 57c9d20102fd53a960293b45e3fed7cb1aac94fd | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Mon Jun 19 15:30:10 2017 -0700 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jun 19 23:21:49 2017 +0000 |
tree | 8c8205b9abaf1fdec88e165f7af273a8d5023483 | |
parent | 5883a11862771c3d5abb3a26c8c4b6bb0570de23 [diff] |
rephrase lowp constant_color This doesn't change the generated code (no .S files change), but it does rephrase what we're trying to do to make it generalize to AVX2 better: - load 4 floats - add 256.0f to each - splat out the low 2 bytes of each 4 byte lane as r,g,b,a Change-Id: Iadc5bc1f2a268679d1ccadd31cd24949a71e0aa4 Reviewed-on: https://skia-review.googlesource.com/20270 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>