| Index: src/core/SkNx.h
|
| diff --git a/src/core/SkNx.h b/src/core/SkNx.h
|
| index 253fcf22fea111b8eca4f689145121f51040312e..1868b2486832d1ff9525561d076b71c36bfae18e 100644
|
| --- a/src/core/SkNx.h
|
| +++ b/src/core/SkNx.h
|
| @@ -166,6 +166,8 @@ struct SkNx<1,T> {
|
|
|
| SkNx thenElse(const SkNx& t, const SkNx& e) const { return fVal != 0 ? t : e; }
|
|
|
| + SkNx logicalShiftRight(int bits) const { return ((unsigned) fVal) >> bits; }
|
| +
|
| private:
|
| // Helper functions to choose the right float/double methods. (In <cmath> madness lies...)
|
| static float Abs(float val) { return ::fabsf(val); }
|
|
|