Skip to content

Releases: microsoft/DirectXMath

June 2026

Choose a tag to compare

@walbourn walbourn released this 12 Jun 19:41
93e6399

Hotfix release for 3.21

  • constexpr added to C++20 comparison operators for XMFLOAT3X3, XMFLOAT4X3, XMFLOAT3X4, and XMFLOAT4X4

This version is available on NuGet.

May 2026

Choose a tag to compare

@walbourn walbourn released this 15 May 22:54
may2026
5618277

DirectXMath 3.21 release.

  • Defaulted C++20 operator== and operator<=> added for XMFLOAT3
  • Fix C++20 comparison operators for XMFLOAT3X3, XMFLOAT4X3, XMFLOAT3X4, and XMFLOAT4X4
  • SIMD optimized implementations for XMLoadFloat3SE and XMStoreFloat3SE
  • Minor SSE4.1 optimization for XMLoadFloat3A, XMLoadFloat4x3, and XMLoadFloat4x3A
  • Fix XMVectorSwizzle and XMVectorPermute for GCC strict-aliasing optimizer
  • C++17 and later use inline constexpr for XMGLOBALCONST to support C++20 Modules
  • Improved clang for Windows usage of cpuid intrinsics
  • CMake project updates including minimum version 3.21 and additional build switches

This version is available on NuGet and via vcpkg.

ARM32 support is still present but is deprecated and no longer tested as Windows on ARM no longer supports 32-bit ARM applications. Support is currently "as is" and will be fully removed in a future release.

Windows SDK (10.0.28000)

Choose a tag to compare

@walbourn walbourn released this 04 Apr 07:22
56206b1
  • XM_DEPRECATED macro uses C++14 [[deprecated]] standard attribute when supported
  • Cmake project updates with build options for XDSP and SHMath

This version is available on NuGet and via vcpkg.

The latest VCPKG port now offers optional features xdsp for the XDSP header and dx11, dx12 for the Spherical Harmonics math library.

October 2024

Choose a tag to compare

@walbourn walbourn released this 15 Oct 22:23
0d82178

DirectXMath 3.20 release.

  • Fixed close-to-zero bug in the implementation of TriangleTests::Intersects
  • Renamed implementation namespace from DirectX::Internal to DirectX::MathInternal to avoid some conformance issues with other libraries
  • CMake project updates including support for ARM64EC
  • Added GitHub Actions YAML files

This version is available on NuGet and via vcpkg.

Windows SDK (10.0.26100)

Choose a tag to compare

@walbourn walbourn released this 14 Feb 23:03
d837578

February 2024 (3.19)

  • Fix to address MinGW issue with __cpuid in cpuid.h vs. intrin.h
  • Additional updates for clang/LLVM and GNUC
  • Minor comment updates

Includes fixes from 3.18b

This version is available on NuGet and via vcpkg.

December 2023

Choose a tag to compare

@walbourn walbourn released this 01 Jan 04:38
2160408

DirectXMath 3.18b release.

  • Hot-fix to address -Wunsafe-buffer-usage warnings from clang v16
  • Hot-fix to address MinGW issue with __cpuid in cpuid.h vs. intrin.h
  • CMake project updates including pkg-config file generation

This version is available on NuGet and via vcpkg.

December 2022

Choose a tag to compare

@walbourn walbourn released this 12 Dec 19:33
339c2a8

The DirectXMath 3.18 release is included in the Windows SDK (10.0.25262) Preview or later.

  • C++20 spaceship operators for XMFLOAT2, XMFLOAT3, etc. when building with /std:c++20 /Zc:_cplusplus
  • Improved conformance for ARM64 when using /Zc:arm64-aliased-neon-types-
  • Minor code review
  • CMake project updated to require 3.20 or later
  • Added Azure Dev Ops Pipeline YAML files

This version is available on NuGet and via vcpkg.

May 2022

Choose a tag to compare

@walbourn walbourn released this 18 May 00:38

DirectXMath 3.17 with hot-fixes applied:

  • Hot-fix to address -Wreserved-identifier warnings with clang v13
  • C++20 spaceship operators for XMFLOAT2, XMFLOAT3, etc. when building with /std:c++20 /Zc:__cplusplus
  • Minor CMake project update

This version is available on NuGet and via vcpkg.

Windows SDK (10.0.22621) for Windows 11, Version 22H2

Choose a tag to compare

@walbourn walbourn released this 18 Jan 08:21

The DirectXMath 3.17 release is included in the Windows SDK (10.0.22621) for Windows 11, Version 22H2 .

  • Added ColorsLinear namespace to DirectXColors.h with linear versions of .NET colors
  • Optimized the XMMatrixRotationRollPitchYaw(FromVector) functions
  • Fixed overread problem for 16bpp GPU types Load functions:
    • XMUNIBBLE4, XMU555, XMU565, XMBYTEN2, XMBYTE2, XMUBYTEN2, XMUBYTE2
  • XM_CACHE_LINE_SIZE updated for ARM/ARM64 targets to 128 bytes
  • A few comments added to improve IntelliSense experience
  • Conformance improvements for GNU compiler
  • Minor code cleanup

See this post.

This version is available on NuGet and via vcpkg.

Windows SDK for Windows 11 (10.0.22000)

Choose a tag to compare

@walbourn walbourn released this 11 Jan 06:35

DirectXMath 3.16 with hot-fixes applied:

  • Hot-fixes to resolve build breaks for clang/LLVM and GCC on ARM64
  • XM_ALIGNED_DATA and XM_ALIGNED_STRUCT macros updated to use C++17 alignas when available

See this post.

This version is also available on NuGet and via vcpkg.