Tweak `css_oklab_gamut_map_to_linear_srgb` for better codegen.
Adding const-qualification to constant variables allows SkSL to do
constant-folding, leading to slightly smaller code. Additionally,
did some minor code migration to avoid doing potentially unnecessary
work.
Change-Id: Ia84fa7f03ce0fbba336f43930534f0d621ecf7b0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/801018
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: James Godfrey-Kittle <jamesgk@google.com>
Reviewed-by: James Godfrey-Kittle <jamesgk@google.com>
3 files changed