drop luminance parens

The diff is tiny and not at all important.

Change-Id: I7fa1430975e5f2d08086929a8ba2305d0c64f196
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281788
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
This commit is contained in:
Mike Klein 2020-04-06 15:04:03 -05:00 committed by Skia Commit-Bot
parent a77cdee048
commit 1ae9672e10

View File

@ -1205,7 +1205,7 @@ namespace skvm {
}
static skvm::F32 luminance(skvm::F32 r, skvm::F32 g, skvm::F32 b) {
return r*0.30f + (g*0.59f + b*0.11f);
return r*0.30f + g*0.59f + b*0.11f;
}
static void set_sat(skvm::F32* r, skvm::F32* g, skvm::F32* b, skvm::F32 s) {