summaryrefslogtreecommitdiff
path: root/indra/llmath/llvector4logical.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-11-19 11:09:58 -0500
committerOz Linden <oz@lindenlab.com>2012-11-19 11:09:58 -0500
commitb7f8a2479249646c7fb38ead195d5197ab733c94 (patch)
treec1bf4a2b0ecac69a4705827a042ea7f0224ebc54 /indra/llmath/llvector4logical.h
parentc94756d92c7353cb91bfddb5e342f825457e1a7e (diff)
parentf8749ec9bd03072cc5b50f4cb1a61289b2989c72 (diff)
merge up to 3.4.1-release
Diffstat (limited to 'indra/llmath/llvector4logical.h')
-rw-r--r--indra/llmath/llvector4logical.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/llvector4logical.h b/indra/llmath/llvector4logical.h
index dd66b09d43..c5698f7cea 100644
--- a/indra/llmath/llvector4logical.h
+++ b/indra/llmath/llvector4logical.h
@@ -27,6 +27,7 @@
#ifndef LL_VECTOR4LOGICAL_H
#define LL_VECTOR4LOGICAL_H
+#include "llmemory.h"
////////////////////////////
// LLVector4Logical
@@ -77,6 +78,7 @@ public:
inline LLVector4Logical& invert()
{
static const LL_ALIGN_16(U32 allOnes[4]) = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
+ ll_assert_aligned(allOnes,16);
mQ = _mm_andnot_ps( mQ, *(LLQuad*)(allOnes) );
return *this;
}