Original Post
The documentation for XMVECTORF32 says:
However, I do not see the difference between these two lines of code:
Quote:
An opaque, portable type to support the use of C/C++ initializer syntax to load floating-point values into an instance of XMVECTOR type.
However, I do not see the difference between these two lines of code:
XMVECTOR g = {1.0f, 2.0f, 3.0f};00221B1B movss xmm0,dword ptr [__real@3f800000 (22976Ch)] 00221B23 movss dword ptr [ebp-20h],xmm0 00221B28 movss xmm0,dword ptr [__real@40000000 (229768h)] 00221B30 movss dword ptr [ebp-1Ch],xmm0 00221B35 movss xmm0,dword ptr [__real@40400000 (229764h)] 00221B3D movss dword ptr [ebp-18h],xmm0 00221B42 xor eax,eax 00221B44 mov dword ptr [ebp-14h],eax XMVECTORF32 g2 = {-1.0f, -2.0f, -3.0f};00221B47 movss xmm0,dword ptr [__real@bf800000 (229760h)] 00221B4F movss dword ptr [ebp-40h],xmm0 00221B54 movss xmm0,dword ptr [__real@c0000000 (22974Ch)] 00221B5C movss dword ptr [ebp-3Ch],xmm0 00221B61 movss xmm0,dword ptr [__real@c0400000 (22A868h)] 00221B69 movss dword ptr [ebp-38h],xmm0 00221B6E xor eax,eax 00221B70 mov dword ptr [ebp-34h],eax