⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
Release Process
Guide for performing the DirectXMath release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README

DirectXMath
https://github.com/Microsoft/DirectXMath
Copyright (c) Microsoft Corporation.
June 2026
This package contains the DirectXMath library, an all inline SIMD C++ linear algebra library for use in games and graphics apps.
This code is designed to build with Visual Studio 2019 (16.11), Visual Studio 2022, Visual Studio 2026, or clang/LLVM for Windows. It is recommended that you make use of the latest updates.
These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.
Directory Layout
-
Inc\-
DirectXMath Files (in the DirectX C++ namespace)
- DirectXMath.h - Core library
- DirectXPackedVector.h - Load/Store functions and types for working with various compressed GPU formats
- DirectXColors.h - .NET-style Color defines in sRGB and linear color space
- DirectXCollision.h - Bounding volume collision library
-
-
Extentions\-
Advanced instruction set variants for guarded codepaths
- DirectXMathSSE3.h - SSE3
- DirectXMathBE.h - Supplemental SSE3 (SSSE3)
- DirectXMathSSE4.h - SSE4.1
- DirectXMathAVX.h - Advanced Vector Extensions (AVX)
- DirectXMathAVX2.h - Advanced Vector Extensions 2 (AVX2)
- DirectXMathF16C.h - Half-precision conversions (F16C)
- DirectXMathFMA3.h - Fused multiply-accumulate (FMA3)
- DirectXMathFMA4.h - Fused multiply-accumulate (FMA4)
-
-
SHMath\-
Spherical Harmonics math functions
- DirectXSH.h - Header for SHMath functions
- DirectXSH.cpp, DirectXSHD3D11.cpp, DirectXSHD3D12.cpp - Implementation
-
-
XDSP\- XDSP.h - Digital Signal Processing helper functions
-
build\- Contains miscellaneous build files and scripts.
-
skills\- Contains published CoPilot skills for use by developers.
Documentation
Documentation is available on the Microsoft Docs. Additional information can be found on the project wiki.
CoPilot Usage
For CoPilot CLI assistance with using DirectXMath, try:
winget install GitHub.Copilot
winget install GitHub.cli
gh skill install microsoft/directxmath
copilot
/skills list
Compiler support
Officially the library is supported with Microsoft Visual C++ 2019 (16.11) or later, clang/LLVM v12 or later, and GCC 10 or later. It should also compile with the Intel C++, MinGW, and Apple Clang compilers.
When building with clang/LLVM or other GNU C compilers, the _XM_NO_XMVECTOR_OVERLOADS_ control define is set because these compilers do not support creating operator overloads for the XMVECTOR type. You can choose to enable this preprocessor define explicitly to do the same thing with Visual C++ for improved portability.
To build for non-Windows platforms, you need to provide a sal.h header in your include path. You can obtain an open source version from GitHub.
With GCC, the SAL annotation preprocessor symbols can conflict with the GNU implementation of the Standard C++ Library. The workaround is to include the system headers before including DirectXMath:
#include <algorithm>
#include <iterator>
#include <utility>
#include <format> // C++20 header
#include <DirectXMath.h>
Notices
All content and source code for this package are subject to the terms of the MIT License.
For the latest version of DirectXMath, bug reports, etc. please visit the project site on GitHub.
Release Notes
FOR SECURITY ADVISORIES, see GitHub.
For a full change history, see CHANGELOG.md.
- clang-format use for this project must match the version use by GitHub Super-Linter to pass the validation. VS 2022 and VS 2026 come with different versions, so to match use:
winget install --id=LLVM.LLVM --version 22.1.3
powershell -File build/Format.ps1 -LLVM
-
The directxmath NuGet package is deprecated. The best way to integrate the latest DirectXMath into your C++ project is using vcpkg.
-
The CMake projects require 3.21 or later. VS 2019 users will need to install a standalone version of CMake 3.21 or later and add it to their PATH.
-
The clang/LLVM toolset currently does not respect the
float_controlpragma for SSE instrinsics. Therefore, the use of/fp:fastis not recommended on clang/LLVM until this issue is fixed. See 55713. -
AArch32/ARM32 (ARMv7) support is deprecated in Windows 11. Compiler support for ARM32 is deprecated in Visual Studio 2026, and the system libraries are no longer present in the Windows SDK (26100) or later. Therefore, support for ARM32 is deprecated in DirectXMath and will be removed in a future release. Since most codepaths are shared for AArch32 and AArch64, the codepaths will be refactored to assume AArch64 (ARMv8).
Support
For questions, consider using Stack Overflow with the directxmath tag, or the DirectX Discord Server in the dx12-developers or dx9-dx11-developers channel.
For bug reports and feature requests, please use GitHub issues for this project.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
Tests for new features should also be submitted as a PR to the Test Suite repository.
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Trademarks
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
Credits
The xboxmath library was originated by Matt Bronder with contributions from Sakphong Chanbai and David Hefner for the Xbox 360.
The xnamath library for the DirectX SDK and Xbox XDK was the work of Chuck Walbourn and Becky Heineman based on xboxmath, with contributions from Jeremy Gup, Dan Haffner, Matt Lee, Casey Meekhof, Rich Sauer, Jason Strayer, and Xiaoyue Zheng.
The DirectXMath library for the Windows SDK and Xbox One XDK is the work of Chuck Walbourn based on xnamath, with contributions from Darren Anderson, Matt Lee, Aaron Rodriguez Hernandez, Yuichi Ito, Reza Nourai
// HOW IT'S BUILT
// FILES
2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
.github/skills/release/SKILL.md4.3 KBupstream ↗
--- name: Release Process description: Guide for performing the DirectXMath release process. Use this skill when asked to help with releasing a new version, publishing packages, or updating ports. --- # Release Process ## Prerequisites - All changes merged into the `main` branch with all tests passing. - GPG signing configured for your GitHub account (for verified tags). - Access to the MSCodeHub mirror repository and Azure DevOps pipelines. - Local repository: - VCPKG at `d:\vcpkg` (synced with `main` branch) - PATs will be needed for scripts that access GitHub and ADO. <!-- markdownlint-disable MD029 --> ## Steps ### Phase 1: Prepare Release 1. Git pull the local repository to ensure it is up to date with the `main` branch. 2. Run the PowerShell script `build\preparerelease.ps1` which will generate a topic branch for the release, update the version number in `CMakeLists.txt`, the `README.md` file, the release notes in the nuspec files, and create a stub in the `CHANGELOG.md` file for the new release. 3. Edit the `CHANGELOG.md` file to update it with a summary of changes. 4. Submit the topic branch for review and merge into `main` once approved. Allow the GitHub Actions workflows and the Azure DevOps pipelines to complete successfully before proceeding. ### Phase 2: Tag and Create GitHub Release 5. Run the PowerShell script `build\completerelease.ps1` which will set a tag on the project repo and the test repo, and create a release on GitHub with the release notes from `CHANGELOG.md`. Ensure you have set up GPG signing for your GitHub account so that the tags will be verified. 6. Git pull the local repository to ensure it is up to date with the `main` branch. Be sure to include `--tags`. ### Phase 3: MSCodeHub and Signed Binaries 7. Push the `main` branch to the MSCodeHub mirror repository. Be sure to include `--tags`. 8. Create a PR on MSCodeHub from the `main` branch to the `release` branch. 9. Merge the PR on MSCodeHub to update the release branch, which will trigger the Azure DevOps pipeline to build the NuGet package. ### Phase 4: Source Archive Signing 10. Download the GitHub source .zip archive from the release. Unzip and compare to the local repo to ensure it matches — keep in mind there may be some CR/LF differences. 11. Run minisign on the .zip to generate a signature file, and upload the signature file to the release assets. ### Phase 5: NuGet Validation and Publishing 12. Download the NuGet package from the ADO pipeline build, and review it with a local project or using NuGet Package Explorer. 13. Upload the nupkg to nuget.org via the website. ### Phase 6: VCPKG Port Update 14. Git pull a local repository of VCPKG to `d:\vcpkg` in sync with the `main` branch of the VCPKG repository. 15. Run the PowerShell script `build�pdatevcpkg.ps1` to update the DirectXMath port in VCPKG with the new release version. This will edit the files in `ports\directxmath`. 16. Test the VCPKG port using the script at `assets/vcpkgdxmath.cmd` (in this skill folder). Copy it to `d:\vcpkg` and run from there after bootstrapping VCPKG. 17. Run `.\vcpkg x-add-version directxmath` to update the VCPKG versioning history. 18. Submit a PR to the VCPKG GitHub repository to update the DirectXMath port. The PR will be reviewed and merged by the VCPKG maintainers. ### Phase 7: Windows SDK Update 19. For the DirectXMath release to be included in the next Windows SDK, prepare a PR for the MSCodeHub project from the `main` branch to the `ms_sdk_release` branch. When the PR is complete, the Azure DevOps pipeline will automatically build vpack and submit a PR for further review. ### Phase 8: Finalize 20. When fully completed, be sure to update the GitHub release with links to the matching NuGet packages and the VCPKG port. 21. Contact the Visual C++ compiler team and have them update `src/qa/suites/common/TestAssets.xml` to use the release's commit ids for DirectXMath and the Test Suite to be included in their test coverage. ## Key Scripts | Script | Purpose | | --- | --- | | `build\preparerelease.ps1` | Creates topic branch, updates version numbers and changelog stub | | `build\completerelease.ps1` | Sets tags, creates GitHub release from changelog | | `build�pdatevcpkg.ps1` | Updates DirectXMath VCPKG port files | | `assets\vcpkgdxmath.cmd` | Tests VCPKG port across all triplets and features |README.mdupstream ↗
Contents are not inlined in the catalog. Open the upstream file.
Plain-text copy, no login: /skill-bundles/microsoft-directxmath-github-skills-release.md