We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d3f12c commit 9c00b27Copy full SHA for 9c00b27
Inc/DirectXMathVector.inl
@@ -2552,13 +2552,13 @@ inline XMVECTOR XM_CALLCONV XMVectorClamp
2552
2553
#elif defined(_XM_ARM_NEON_INTRINSICS_)
2554
XMVECTOR vResult;
2555
- vResult = vmaxq_f32(Min,V);
2556
- vResult = vminq_f32(vResult,Max);
+ vResult = vmaxq_f32(Min, V);
+ vResult = vminq_f32(Max, vResult);
2557
return vResult;
2558
#elif defined(_XM_SSE_INTRINSICS_)
2559
2560
- vResult = _mm_max_ps(Min,V);
2561
- vResult = _mm_min_ps(vResult,Max);
+ vResult = _mm_max_ps(Min, V);
+ vResult = _mm_min_ps(Max, vResult);
2562
2563
#endif
2564
}
0 commit comments