aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Source/LowLevelCloth/src
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
committerSheikh Dawood Abdul Ajees <[email protected]>2017-09-15 15:41:57 -0500
commitd1c812f1162e5fdb13c215792725b2591d7428f5 (patch)
tree407056c45c7e9320c48fca6a3697d81a061c4ea0 /PhysX_3.4/Source/LowLevelCloth/src
parentPhysX 3.4, APEX 1.4 patch release @22121272 (diff)
downloadphysx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.tar.xz
physx-3.4-d1c812f1162e5fdb13c215792725b2591d7428f5.zip
PhysX 3.4.1, APEX 1.4.1 Release @22845541v3.4.1
Diffstat (limited to 'PhysX_3.4/Source/LowLevelCloth/src')
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h2
-rw-r--r--PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h8
2 files changed, 1 insertions, 9 deletions
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h b/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h
index cf136606..49a27ab4 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h
+++ b/PhysX_3.4/Source/LowLevelCloth/src/SimdTypes.h
@@ -73,7 +73,7 @@ void foo(const float* ptr)
* Define Simd4f and Simd4i, which map to four 32bit float or integer tuples.
* */
// note: ps4 compiler defines _M_X64 without value
-#if defined (_M_IX86) || defined (_M_X64) || defined (__i386__) || defined (__x86_64__) || PX_EMSCRIPTEN
+#if((defined _M_IX86) || (defined _M_X64) || (defined __i386__) || (defined __x86_64__) || (defined __EMSCRIPTEN__ && defined __SSE2__))
#define NV_SIMD_SSE2 1
#else
#define NV_SIMD_SSE2 0
diff --git a/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h b/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h
index ac4239e9..58fb4af1 100644
--- a/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h
+++ b/PhysX_3.4/Source/LowLevelCloth/src/scalar/SimdTypes.h
@@ -29,16 +29,8 @@
#pragma once
-#if NV_WIIU
-#pragma ghs nowarning 193 // warning #193-D: zero used for undefined preprocessing identifier
-#endif
-
#include <algorithm>
-#if NV_WIIU
-#pragma ghs endnowarning
-#endif
-
#ifdef _MSC_VER
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;