Commit dd806c2b by Jamie Madill

Use emmintrin.h for SSE includes.

This header should work on all available platforms, instead of the platform-specific intrin.h or x86intrin.h. BUG=angle:773 Change-Id: Ia012053064838f9893aa647d872e136a47cfad1a Reviewed-on: https://chromium-review.googlesource.com/240552Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent ffe38e1c
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
# endif # endif
# include <windows.h> # include <windows.h>
# include <intrin.h>
# if defined(ANGLE_ENABLE_D3D9) # if defined(ANGLE_ENABLE_D3D9)
# include <d3d9.h> # include <d3d9.h>
...@@ -76,11 +75,6 @@ ...@@ -76,11 +75,6 @@
# undef far # undef far
#endif #endif
#ifdef ANGLE_PLATFORM_APPLE
// TODO(jmadill): other OSX-specific includes
# include <x86intrin.h>
#endif
#if !defined(_M_ARM) && !defined(ANGLE_PLATFORM_ANDROID) #if !defined(_M_ARM) && !defined(ANGLE_PLATFORM_ANDROID)
# define ANGLE_USE_SSE # define ANGLE_USE_SSE
#endif #endif
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "common/platform.h" #include "common/platform.h"
#ifdef ANGLE_USE_SSE
#include <emmintrin.h>
#endif
namespace rx namespace rx
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment