mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-09 14:10:09 +00:00
Fix warning for missing braces. (#179)
This commit is contained in:
parent
2160408dfd
commit
17beef7fe2
@ -143,12 +143,12 @@ namespace Internal
|
||||
static XMVECTOR XM_CALLCONV Permute(FXMVECTOR v1, FXMVECTOR v2)
|
||||
{
|
||||
static const XMVECTORU32 selectMask =
|
||||
{
|
||||
{ { {
|
||||
WhichX ? 0xFFFFFFFF : 0,
|
||||
WhichY ? 0xFFFFFFFF : 0,
|
||||
WhichZ ? 0xFFFFFFFF : 0,
|
||||
WhichW ? 0xFFFFFFFF : 0,
|
||||
};
|
||||
} } };
|
||||
|
||||
XMVECTOR shuffled1 = _mm_permute_ps(v1, Shuffle);
|
||||
XMVECTOR shuffled2 = _mm_permute_ps(v2, Shuffle);
|
||||
|
@ -487,12 +487,12 @@ namespace Internal
|
||||
static XMVECTOR XM_CALLCONV Permute(FXMVECTOR v1, FXMVECTOR v2)
|
||||
{
|
||||
static const XMVECTORU32 selectMask =
|
||||
{
|
||||
{ { {
|
||||
WhichX ? 0xFFFFFFFF : 0,
|
||||
WhichY ? 0xFFFFFFFF : 0,
|
||||
WhichZ ? 0xFFFFFFFF : 0,
|
||||
WhichW ? 0xFFFFFFFF : 0,
|
||||
};
|
||||
} } };
|
||||
|
||||
XMVECTOR shuffled1 = _mm_permute_ps(v1, Shuffle);
|
||||
XMVECTOR shuffled2 = _mm_permute_ps(v2, Shuffle);
|
||||
|
Loading…
Reference in New Issue
Block a user