Index: src/opts/SkBitmapProcState_opts_SSSE3.cpp |
diff --git a/src/opts/SkBitmapProcState_opts_SSSE3.cpp b/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
index ddc8ccc5ab5fad5d8411c63df9e81ebae516e5c9..4622937c70cbc639970ffe9508f6b94538b2cf55 100644 |
--- a/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
+++ b/src/opts/SkBitmapProcState_opts_SSSE3.cpp |
@@ -425,9 +425,10 @@ void S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState& s, |
const __m128i zero = _mm_setzero_si128(); |
__m128i alpha = _mm_setzero_si128(); |
- if (has_alpha) |
+ if (has_alpha) { |
// 8x(alpha) |
alpha = _mm_set1_epi16(s.fAlphaScale); |
+ } |
if (sub_y == 0) { |
// Unroll 4x, interleave bytes, use pmaddubsw (all_x is small) |
@@ -705,7 +706,7 @@ void S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, |
*colors++ = _mm_cvtsi128_si32(sum0); |
} |
} |
-} // namepace |
+} // namespace |
void S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, |
const uint32_t* xy, |