From 606d79183e5a3ae4fe2375a5e001241ba5d5a727 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 15 Jul 2026 15:04:38 -0700 Subject: [PATCH 1/3] Update MinGW GitHub action to cover more compiler versions --- .github/workflows/mingw.yml | 5 +++-- README.md | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 38955fe4..cfa3c1c7 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -38,8 +38,6 @@ permissions: jobs: build: - runs-on: windows-2022 - strategy: fail-fast: false @@ -47,6 +45,9 @@ jobs: build_type: [x64-Debug-MinGW, x64-Release-MinGW] shared: ['OFF', 'ON'] gameinput: ['OFF', 'ON'] + os: [windows-2022, windows-2025] + + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/README.md b/README.md index d6d2d2e1..db254f04 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ FOR SECURITY ADVISORIES, see [GitHub](https://github.com/microsoft/DirectXTK12/s For a full change history, see [CHANGELOG.md](https://github.com/microsoft/DirectXTK12/blob/main/CHANGELOG.md). +* The _directxtk12_desktop_win10_ and _directxtk12_uwp_ NuGet packages are deprecated. The best way to integrate the latest DirectX Tool Kit into your C++ project is using [vcpkg](https://github.com/microsoft/vcpkg/tree/master/ports/directxtk12). + * The CMake projects require 3.21 or later. * In the June 2024 release, the defaulted parameter `initialState` for the ``CreateUploadBuffer`` function in _BufferHelpers_ was removed. Per the DirectX 12 validation layer, the only valid initial state for an upload buffer is ``D3D12_RESOURCE_STATE_GENERIC_READ``. @@ -172,4 +174,6 @@ Thanks to Roberto Sonnino for his help with the CMO format and the VS Starter Ki Thanks to Richie Meyer for their contribution of Xbox PIX custom memory and type allocation tracking events support. -Thanks to Andrew Farrier and Scott Matloff for their on-going help with code reviews. +Thanks to Andrew Farrier, Jon Martin, and Scott Matloff for their help with code reviews. + +Thanks to Shawn Hargreaves and Nada Ouf for their continued support for this library. From a6cbe7aa1f4a54d20dedb0155caa6c2ec9d16ab7 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 15 Jul 2026 15:29:11 -0700 Subject: [PATCH 2/3] Update readme --- .github/copilot-instructions.md | 11 +++++++++++ README.md | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 2b1cb3c4..f98a6054 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -329,6 +329,17 @@ When reviewing documentation, do the following: - Read the documentation on the wiki located in [this git repository](https://github.com/microsoft/DirectXTK12.wiki.git). - Report any specific gaps in the documentation compared to the public interface. +## Code Change Rules + +- Make precise, surgical changes that **fully** address the request. Don't modify unrelated code, but ensure changes are complete and correct. +- Don't fix pre-existing issues unrelated to your task. However, if you discover bugs directly caused by or tightly coupled to the code you're changing, fix those too. +- Update documentation if it is directly related to the changes you are making. +- Always validate that your changes don't break existing behavior. +- Only run linters, builds and tests that already exist. Do not add new linting, building or testing tools unless necessary. +- Use the smallest targeted test, build, or lint command that covers the changed behavior. +- Prefer ecosystem tools (package managers, scaffolding, refactoring tools, linters) over manual changes. +- Only comment code that needs clarification. Do not comment otherwise. + ## Release Process The release process is documented in the [release skill](.github/skills/release/SKILL.md). Invoke the `release` skill for step-by-step guidance when performing a release. diff --git a/README.md b/README.md index db254f04..e7a748c0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Copyright (c) Microsoft Corporation. This package contains the "DirectX Tool Kit", a collection of helper classes for writing Direct3D 12 C++ code for Win32 desktop applications for Windows 11 and Windows 10, game titles for Xbox Series X\|S and Xbox One, and Universal Windows Platform (UWP) apps for Windows 11 and Windows 10. -This code is designed to build with Visual Studio 2022, Visual Studio 2026, clang for Windows v12 or later, or MinGW 12.2. Use of the Windows 10 May 2020 Update SDK ([19041](https://walbourn.github.io/windows-10-may-2020-update-sdk/)) or later is required for Visual Studio. +This code is designed to build with Visual Studio 2022, Visual Studio 2026, clang for Windows v12 or later, or MinGW. Use of the Windows 10 May 2020 Update SDK ([19041](https://walbourn.github.io/windows-10-may-2020-update-sdk/)) or later is required for Visual Studio. These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see [Where is the DirectX SDK?](https://aka.ms/dxsdk). From 3a444b41d11e1e88aa89787e603e6d39cd7e208a Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Wed, 15 Jul 2026 15:32:26 -0700 Subject: [PATCH 3/3] Pick lint --- .github/workflows/mingw.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index cfa3c1c7..26200389 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -107,4 +107,4 @@ jobs: - name: 'Build' working-directory: ${{ github.workspace }} - run: cmake --build out\build\${{ matrix.build_type }} + run: cmake --build out/build/${{ matrix.build_type }}