You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the latest Agility SDK package. You will be taken to a NuGet package page where
206
+
you can click "Download package" to get it. Once downloaded, change the file
207
+
extension to .zip and unzip the file to some path.
208
+
209
+
.. note:: If you use a preview version of the Agility SDK, remember to enable developer mode in Windows; otherwise it won't be used.
210
+
211
+
When building Godot, you will need to tell SCons to use Direct3D 12 and where to look for the additional libraries::
212
+
213
+
C:\godot> scons platform=windows d3d12=yes DXC_PATH=<...> plus mesa_libs=<...>
214
+
215
+
Or, with all options enabled::
216
+
217
+
C:\godot> scons platform=windows d3d12=yes DXC_PATH=<...> plus mesa_libs=<...> AGILITY_SDK_PATH=<...> PIX_PATH=<...>
218
+
219
+
.. note:: The build process will copy dxil.dll from the bin/<arch>/ directory in the DXC folder to the Godot binary directory and the appropriate bin/<arch> file in the Godot binary directory. Direct3D 12-enabled Godot packages for distribution to end users must include the dxil.dll (and relevant folders if using multi-arch), both for the editor and games.
220
+
At runtime, the renderer will try to load the DLL from the arch-specific folders, and will fall back to the same directory as the Godot executable if the appropriate arch isn't found.
221
+
222
+
.. note:: For the Agility SDK's DLLs you have to explicitly choose the kind of workflow. Single-arch is the default (DLLs copied to bin/). If you pass ``agility_sdk_multi_arch=yes`` to SCons, you'll opt-in for multi-arch. DLLs will be copied to the appropiate bin/<arch>/ subdirectories and at runtime the right one will be loaded.
0 commit comments