aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts/SkNx_avx.h
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-12-03 09:15:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-03 09:15:26 -0800
commitc2e0ac4fce5bfe5bac9f2cb1ebd3aea3a8900fb1 (patch)
tree8c1a1fbd880aaa1fd31ae198b9dd45b1034210d9 /src/opts/SkNx_avx.h
parent53c5d5fb795fe04bec050c0583223027c25b839b (diff)
Don't use the Sk4f gradient impl without SIMD
Also remove the SK_SUPPORT_LEGACY_LINEAR_GRADIENT_TABLE guard since it is no longer used in Chromium. BUG=chromium:563492 R=reed@google.com,mtklein@google.com CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Review URL: https://codereview.chromium.org/1489233005
Diffstat (limited to 'src/opts/SkNx_avx.h')
-rw-r--r--src/opts/SkNx_avx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opts/SkNx_avx.h b/src/opts/SkNx_avx.h
index 9697303e37..6236769652 100644
--- a/src/opts/SkNx_avx.h
+++ b/src/opts/SkNx_avx.h
@@ -13,6 +13,8 @@
// All the SSE specializations are still good ideas. We'll just add Sk8f.
#include "SkNx_sse.h"
+// SkNx_sse.h defines SKNX_IS_FAST.
+
namespace { // See SkNx.h
template <>