Index: src/opts/SkColorCubeFilter_opts.h |
diff --git a/src/opts/SkColorCubeFilter_opts.h b/src/opts/SkColorCubeFilter_opts.h |
index 3eb243de55332732345f4f1c14e2170bd7a64c7c..4c394051bbae1e0f4f9f1534ca44217f572050ee 100644 |
--- a/src/opts/SkColorCubeFilter_opts.h |
+++ b/src/opts/SkColorCubeFilter_opts.h |
@@ -71,7 +71,7 @@ void color_cube_filter_span(const SkPMColor src[], |
// color is BGRA (SkColor order), dst is SkPMColor order, so may need to swap R+B. |
#if defined(SK_PMCOLOR_IS_RGBA) |
- color = Sk4f(color.kth<2>(), color.kth<1>(), color.kth<0>(), color.kth<3>()); |
+ color = SkNx_shuffle<2,1,0,3>(color); |
#endif |
uint8_t* dstBytes = (uint8_t*)(dst+i); |
color.toBytes(dstBytes); |