aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compute/color
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-07-11 16:10:14 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-16 13:59:36 +0000
commit1419534a0079618b9c12edd74fd756e36b0523bf (patch)
tree46e83a5a3c46cdf5aa70f48c2ed73b81874f481a /src/compute/color
parent7e83f89dd67e7c66d853e78b4630450bfb406de0 (diff)
Whitespace cleanup again
Change-Id: I38ab9ff141eb088084a4c0e664f327ceb89fcf70 Reviewed-on: https://skia-review.googlesource.com/140784 Commit-Queue: Hal Canary <halcanary@google.com> Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/compute/color')
-rw-r--r--src/compute/color/color.c8
-rw-r--r--src/compute/color/color.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/compute/color/color.c b/src/compute/color/color.c
index 3e4b1c8c10..929754639d 100644
--- a/src/compute/color/color.c
+++ b/src/compute/color/color.c
@@ -104,8 +104,8 @@ color_linear_to_srgb_rgb_f32(float rgb[3])
//
//
-static
-float
+static
+float
lerpf(float const a, float const b, float const t)
{
return fmaf(t, b, fmaf(-t, a, a));
@@ -115,8 +115,8 @@ lerpf(float const a, float const b, float const t)
//
//
-void
-color_linear_lerp_rgba_f32(float rgba_m[4],
+void
+color_linear_lerp_rgba_f32(float rgba_m[4],
float const rgba_a[4],
float const rgba_b[4],
float const t)
diff --git a/src/compute/color/color.h b/src/compute/color/color.h
index 36f1293b20..452ed190e5 100644
--- a/src/compute/color/color.h
+++ b/src/compute/color/color.h
@@ -59,7 +59,7 @@ void color_linear_to_srgb_rgb_f32(float rgb[3]);
//
//
-void color_linear_lerp_rgba_f32(float rgba_m[4],
+void color_linear_lerp_rgba_f32(float rgba_m[4],
float const rgba_a[4],
float const rgba_b[4],
float const t);