mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-21 20:00:12 +00:00
Converted a few typdef to using
This commit is contained in:
parent
d0bbddc9f2
commit
13069ff558
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user