aboutsummaryrefslogtreecommitdiff
path: root/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h
diff options
context:
space:
mode:
authorSheikh Dawood <[email protected]>2018-05-25 09:54:38 -0500
committerSheikh Dawood <[email protected]>2018-05-25 09:54:38 -0500
commitb99b3783cd7e3fb1bb0a07dc472b2fc000c4cdc1 (patch)
treede67d7adc7cc66d44c3e0a399d94d1db6bcebd0c /PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h
parentPhysX 3.4, APEX 1.4 patch release @23933511 (diff)
downloadphysx-3.4-3.4.2.tar.xz
physx-3.4-3.4.2.zip
PhysX 3.4, APEX 1.4 patch release @24214033v3.4.2
Diffstat (limited to 'PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h')
-rw-r--r--PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h b/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h
index 5fd1b8de..2635311c 100644
--- a/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h
+++ b/PxShared/src/foundation/include/windows/PsWindowsInlineAoS.h
@@ -23,7 +23,7 @@
// components in life support devices or systems without express written approval of
// NVIDIA Corporation.
//
-// Copyright (c) 2008-2017 NVIDIA Corporation. All rights reserved.
+// Copyright (c) 2008-2018 NVIDIA Corporation. All rights reserved.
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
@@ -1677,6 +1677,11 @@ PX_FORCE_INLINE Vec4V V4PermYZXW(const Vec4V a)
return _mm_shuffle_ps(a, a, _MM_SHUFFLE(3, 0, 2, 1));
}
+PX_FORCE_INLINE Vec4V V4PermZWXY(const Vec4V a)
+{
+ return _mm_shuffle_ps(a, a, _MM_SHUFFLE(1, 0, 3, 2));
+}
+
template <PxU8 x, PxU8 y, PxU8 z, PxU8 w>
PX_FORCE_INLINE Vec4V V4Perm(const Vec4V a)
{