1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-09 14:10:09 +00:00

Converted a few typdef to using

This commit is contained in:
Chuck Walbourn 2020-06-25 15:36:59 -07:00
parent d0bbddc9f2
commit 13069ff558

View File

@ -337,11 +337,11 @@ namespace DirectX
// Vector intrinsic: Four 32 bit floating point components aligned on a 16 byte
// boundary and mapped to hardware vector registers
#if defined(_XM_SSE_INTRINSICS_) && !defined(_XM_NO_INTRINSICS_)
typedef __m128 XMVECTOR;
using XMVECTOR = __m128;
#elif defined(_XM_ARM_NEON_INTRINSICS_) && !defined(_XM_NO_INTRINSICS_)
typedef float32x4_t XMVECTOR;
using XMVECTOR = float32x4_t;
#else
typedef __vector4 XMVECTOR;
using XMVECTOR = __vector4;
#endif
// Fix-up for (1st-3rd) XMVECTOR parameters that are pass-in-register for x86, ARM, ARM64, and vector call; by reference otherwise