Index: src/core/SkPM4fPriv.h |
diff --git a/src/core/SkPM4fPriv.h b/src/core/SkPM4fPriv.h |
index 24d073639e4795d90756738f8efd1ef994fd0774..b39891ea2082e929e74eb6322a398e9b89d70740 100644 |
--- a/src/core/SkPM4fPriv.h |
+++ b/src/core/SkPM4fPriv.h |
@@ -10,12 +10,12 @@ |
#include "SkNx.h" |
static inline float get_alpha(const Sk4f& f4) { |
- return f4.kth<SkPM4f::A>(); |
+ return f4[SkPM4f::A]; |
} |
static inline Sk4f set_alpha(const Sk4f& f4, float alpha) { |
static_assert(3 == SkPM4f::A, ""); |
- return Sk4f(f4.kth<0>(), f4.kth<1>(), f4.kth<2>(), alpha); |
+ return Sk4f(f4[0], f4[1], f4[2], alpha); |
} |
static inline uint32_t to_4b(const Sk4f& f4) { |