diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-05 23:29:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-05-05 23:34:25 +0300 |
commit | d12378da11f65187fab5e98d4c5ade568c781412 (patch) | |
tree | 3e2c648d1fbacb5ff7cf010db5afaba4393c8c1c /source/blender/blenlib/intern/math_color_inline.c | |
parent | ee5eb2a26a1f66d876d876c751d1076e1748ece6 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenlib/intern/math_color_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_color_inline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_color_inline.c b/source/blender/blenlib/intern/math_color_inline.c index c268481a5d9..180d62105c4 100644 --- a/source/blender/blenlib/intern/math_color_inline.c +++ b/source/blender/blenlib/intern/math_color_inline.c @@ -44,10 +44,10 @@ MALWAYS_INLINE __m128 srgb_to_linearrgb_v4_simd(const __m128 c) { __m128 cmp = _mm_cmplt_ps(c, _mm_set1_ps(0.04045f)); - __m128 lt = _mm_max_ps(_mm_mul_ps(c, _mm_set1_ps(1.0f/12.92f)), + __m128 lt = _mm_max_ps(_mm_mul_ps(c, _mm_set1_ps(1.0f / 12.92f)), _mm_set1_ps(0.0f)); __m128 gtebase = _mm_mul_ps(_mm_add_ps(c, _mm_set1_ps(0.055f)), - _mm_set1_ps(1.0f/1.055f)); /* fma */ + _mm_set1_ps(1.0f / 1.055f)); /* fma */ __m128 gte = _bli_math_fastpow24(gtebase); return _bli_math_blend_sse(cmp, lt, gte); } |