diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-05-01 17:13:57 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2024-05-07 19:10:58 +0200 |
commit | 47ac22486db3ad86579fcc67a9441a53016a7ee9 (patch) | |
tree | bc2b721751574ffb9b2b7c55344af4b72a76fdb7 /core/config/project_settings.cpp | |
parent | 7cdad333114e6765351ed0facb48db228ef29b7b (diff) | |
download | redot-engine-47ac22486db3ad86579fcc67a9441a53016a7ee9.tar.gz |
Update dependencies in D3D12 SDK installer script
- Add colored console output.
Diffstat (limited to 'core/config/project_settings.cpp')
-rw-r--r-- | core/config/project_settings.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index a0412e91ff..2856940903 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1557,7 +1557,11 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF_RST("rendering/rendering_device/d3d12/max_misc_descriptors_per_frame", 512); custom_prop_info["rendering/rendering_device/d3d12/max_misc_descriptors_per_frame"] = PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/max_misc_descriptors_per_frame", PROPERTY_HINT_RANGE, "32,4096"); - GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version"), 610); + // The default value must match the minor part of the Agility SDK version + // installed by the scripts provided in the repository + // (check `misc/scripts/install_d3d12_sdk_windows.py`). + // For example, if the script installs 1.613.3, the default value must be 613. + GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/rendering_device/d3d12/agility_sdk_version"), 613); GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_filter", PROPERTY_HINT_ENUM, "Nearest,Linear,Linear Mipmap,Nearest Mipmap"), 1); GLOBAL_DEF_BASIC(PropertyInfo(Variant::INT, "rendering/textures/canvas_textures/default_texture_repeat", PROPERTY_HINT_ENUM, "Disable,Enable,Mirror"), 0); |