Skip to content

Commit

Permalink
Mention Vulkan and Direct3D 12 SDK install scripts in Compiling for m…
Browse files Browse the repository at this point in the history
…acOS/Windows
  • Loading branch information
Calinou committed Jan 3, 2025
1 parent 68d4c35 commit f1d751b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions contributing/development/compiling/compiling_for_macos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ For compiling under macOS, the following is required:
(or the more lightweight Command Line Tools for Xcode).
- `Vulkan SDK <https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg>`_
for MoltenVK (macOS doesn't support Vulkan out of the box).
The latest Vulkan SDK version can be installed quickly by running
``misc/scripts/install_vulkan_sdk_macos.sh`` within the Godot source repository.

.. note:: If you have `Homebrew <https://brew.sh/>`_ installed, you can easily
install SCons using the following command::
Expand Down
12 changes: 10 additions & 2 deletions contributing/development/compiling/compiling_for_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ the engine source code (using ``cd``) and type:

.. tip::
If you are compiling Godot to make changes or contribute to the engine,
you may want to use the SCons options ``dev_build=yes`` or ``dev_mode=yes``.
you may want to use the SCons options ``dev_build=yes`` or ``dev_mode=yes``.
See :ref:`doc_introduction_to_the_buildsystem_development_and_production_aliases`
for more info.

Expand Down Expand Up @@ -182,7 +182,15 @@ Compiling with support for Direct3D 12
By default, builds of Godot do not contain support for the Direct3D 12 graphics
API.

To compile Godot with Direct3D 12 support you need at least the following item:
You can install the required dependencies by running
``python misc/scripts/install_d3d12_sdk_windows.py``
in the Godot source repository. After running this script, add the ``d3d12=yes``
SCons option to enable Direct3D 12 support. This will use the default paths for
the various dependencies, which match the ones used in the script.

You can find the detailed steps below if you wish to set up dependencies
manually, but the above script handles everything for you (including the
optional PIX and Agility SDK components).

- `godot-nir-static library <https://github.com/godotengine/godot-nir-static/releases/>`_.
We compile the Mesa libraries you will need into a static library. Download it
Expand Down

0 comments on commit f1d751b

Please sign in to comment.