Skip to content

Commit 5cb1ec5

Browse files
committed
Merge pull request #114043 from blueskythlikesclouds/d3d12-dependency-upgrade
Upgrade Agility SDK & DirectX Headers.
2 parents b358452 + 0307895 commit 5cb1ec5

27 files changed

Lines changed: 16365 additions & 2112 deletions

core/config/project_settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,8 +1827,8 @@ ProjectSettings::ProjectSettings() {
18271827
// The default value must match the minor part of the Agility SDK version
18281828
// installed by the scripts provided in the repository
18291829
// (check `misc/scripts/install_d3d12_sdk_windows.py`).
1830-
// For example, if the script installs 1.613.3, the default value must be 613.
1831-
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version", PROPERTY_HINT_RANGE, "0,10000,1,or_greater,hide_control"), 613);
1830+
// For example, if the script installs 1.618.5, the default value must be 618.
1831+
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version", PROPERTY_HINT_RANGE, "0,10000,1,or_greater,hide_control"), 618);
18321832

18331833
GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_filter", PROPERTY_HINT_ENUM, "Nearest,Linear,Linear Mipmap,Nearest Mipmap"), 1);
18341834
GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_repeat", PROPERTY_HINT_ENUM, "Disable,Enable,Mirror"), 0);

doc/classes/ProjectSettings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3254,8 +3254,8 @@
32543254
<member name="rendering/renderer/rendering_method.web" type="String" setter="" getter="" default="&quot;gl_compatibility&quot;">
32553255
Override for [member rendering/renderer/rendering_method] on web.
32563256
</member>
3257-
<member name="rendering/rendering_device/d3d12/agility_sdk_version" type="int" setter="" getter="" default="613">
3258-
Version code of the [url=https://devblogs.microsoft.com/directx/directx12agility/]Direct3D 12 Agility SDK[/url] to use ([code]D3D12SDKVersion[/code]). This must match the [i]minor[/i] version that is installed next to the editor binary and in the export templates directory for the current editor version. For example, if you have [code]1.613.3[/code] installed, you need to input [code]613[/code] here.
3257+
<member name="rendering/rendering_device/d3d12/agility_sdk_version" type="int" setter="" getter="" default="618">
3258+
Version code of the [url=https://devblogs.microsoft.com/directx/directx12agility/]Direct3D 12 Agility SDK[/url] to use ([code]D3D12SDKVersion[/code]). This must match the [i]minor[/i] version that is installed next to the editor binary and in the export templates directory for the current editor version. For example, if you have [code]1.618.5[/code] installed, you need to input [code]618[/code] here.
32593259
</member>
32603260
<member name="rendering/rendering_device/d3d12/max_resource_descriptors" type="int" setter="" getter="" default="65536">
32613261
The number of entries in the resource descriptor heap the Direct3D 12 rendering driver uses for most rendering operations.

misc/scripts/install_d3d12_sdk_windows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
# DirectX 12 Agility SDK
4242
# Check for latest version: https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12 (check downloaded filename)
4343
# After updating this, remember to change the default value of the `rendering/rendering_device/d3d12/agility_sdk_version`
44-
# project setting to match the minor version (e.g. for `1.613.3`, it should be `613`).
45-
agility_sdk_version = "1.613.3"
44+
# project setting to match the minor version (e.g. for `1.618.5`, it should be `618`).
45+
agility_sdk_version = "1.618.5"
4646
agility_sdk_archive = os.path.join(deps_folder, f"Agility_SDK_{agility_sdk_version}.nupkg")
4747
agility_sdk_folder = os.path.join(deps_folder, "agility_sdk")
4848

thirdparty/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Patches:
170170
## directx_headers
171171

172172
- Upstream: https://github.com/microsoft/DirectX-Headers
173-
- Version: 1.611.1 (48f23952bc08a6dce0727339c07cedbc4797356c, 2023)
173+
- Version: 1.618.2 (dde59d560da2760fec612d6634124edc2a26b82f, 2025)
174174
- License: MIT
175175

176176
Files extracted from upstream source:
@@ -181,8 +181,7 @@ Files extracted from upstream source:
181181

182182
Patches:
183183

184-
- `0001-mingw-pragma.patch` ([GH-83452](https://github.com/godotengine/godot/pull/83452))
185-
- `0002-win7-8-dynamic-load.patch` ([GH-88496](https://github.com/godotengine/godot/pull/88496))
184+
- `0001-win7-8-dynamic-load.patch` ([GH-88496](https://github.com/godotengine/godot/pull/88496))
186185

187186

188187
## doctest

0 commit comments

Comments
 (0)