Index: src/opts/Sk2x_none.h |
diff --git a/src/opts/Sk2x_none.h b/src/opts/Sk2x_none.h |
index 65cc6703fbd88b942235d68f7c66f8ada2b16f43..2c68e736f48b59705c8b68aea98cdab42ccf2e3c 100644 |
--- a/src/opts/Sk2x_none.h |
+++ b/src/opts/Sk2x_none.h |
@@ -54,6 +54,9 @@ M(Sk2x<T>) Max(const Sk2x<T>& a, const Sk2x<T>& b) { |
return Sk2x<T>(SkTMax(a.fVec[0], b.fVec[0]), SkTMax(a.fVec[1], b.fVec[1])); |
} |
+M(Sk2x<T>) invert() const { return Sk2x<T>((T)1.0 / fVec[0], (T)1.0 / fVec[1]); } |
+M(Sk2x<T>) approxInvert() const { return this->invert(); } |
+ |
#undef M |
#define M template <> inline |