aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts/SkNx_sse.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_sse.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_sse.h')
-rw-r--r--src/opts/SkNx_sse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opts/SkNx_sse.h b/src/opts/SkNx_sse.h
index a4f8656536..9092f44480 100644
--- a/src/opts/SkNx_sse.h
+++ b/src/opts/SkNx_sse.h
@@ -10,6 +10,8 @@
// This file may assume <= SSE2, but must check SK_CPU_SSE_LEVEL for anything more recent.
+#define SKNX_IS_FAST
+
namespace { // See SkNx.h