This package contains a copy of the DirectX Shader Compiler redistributable and its associated development headers.
For help getting started, please see:
https://github.com/microsoft/DirectXShaderCompiler/wiki
The included licenses apply to the following files:
| License file | Applies to |
|---|---|
| LICENSE-MIT.txt | d3d12shader.h |
| LICENSE-LLVM.txt | all other files |
This cumulative release contains numerous bug fixes and stability improvements.
Here are some highlights:
dxc_full.pdb, dxc.exe will now expect dxc.pdb.This cumulative release contains numerous bug fixes and stability improvments.
Here are some highlights:
README.md can now be found in ReleaseNotes.mdDX Compiler Release for May 2024
This release includes two major new elements:
See the official blog post for a more detailed description of this release.
HLSL 202x is a placeholder designation for what will ultimately be a new language version that further aligns HLSL with modern language features. It is intended to serve as a bridge to help transition to the expected behavior of the modernized compiler.
To experiment with 202x, use the -HV 202x flag. We recommend enabling these warnings as well to catch potential changes in behavior: -Wconversion -Wdouble-promotion -Whlsl-legacy-literal.
The first feature available in 202x updates HLSL's treatment of literals to better conform with C/C++. In previous versions, un-suffixed literal types targeted the highest possible precision. This feature revises that to mostly conform with C/C++ behavior. See the above blog post for details.
Clang-built Windows binaries are included in addition to the MSVC-built binaries that have always been shipped before. The clang-built compiler is expected to improve HLSL compile times in many cases. We are eager for feedback about this build positive or negative, related to compile times or correctness.
DX Compiler Release for March 2024 - Patch 2
DX Compiler Release for March 2024 - Patch 1
fmod.DX Compiler release for March 2024
IDxcIncludeHandler::LoadSource will now be normalized to use OS specific slashes
(\ for windows, / for *nix) and no longer have double slashes except for UNC paths (\\my\unc\path).”DX Compiler release for August 2023
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll for x64 and arm64 platforms on Windows. The package also includes Linux version of the compiler with corresponding executable, libdxcompiler.so, corresponding headers, and libdxil.so for x64 platforms.
The new DirectX 12 Agility SDK (Microsoft.Direct3D.D3D12 nuget package) and a hardware driver with appropriate support are required to run shader model 6.7 shaders. Please see https://aka.ms/directx12agility for details.
The SPIR-V backend of the compiler has been enabled in this release.
DX Compiler release for December 2022.
and, or and select intrinsics are now exposed in all language modes. This was done to ease porting code bases to HLSL2021, but may cause name conflicts in existing code.-ftime-report flag prints a high level summary of compile time broken down by major phase or pass in the compiler. The DXC
command line will print the output to stdout.-ftime-trace flag prints a Chrome trace json file. The output can be routed to a specific file by providing a filename to
the argument using the format -ftime-trace=<filename>. Chrome trace files can be opened in Chrome by loading the built-in tracing tool
at chrome://tracing. The trace file captures hierarchial timing data with additional context enabling a much more in-depth profiling
experience.DXC_OUT_TIME_REPORT and DXC_OUT_TIME_TRACE output kinds respectively.-P flag will now behave as it does with cl using the file specified by -Fi or a defaultThe package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll for x64 and arm64 platforms on Windows. For the first time the package also includes Linux version of the compiler with corresponding executable, libdxcompiler.so, corresponding headers, and libdxil.so for x64 platforms.
The new DirectX 12 Agility SDK (Microsoft.Direct3D.D3D12 nuget package) and a hardware driver with appropriate support are required to run shader model 6.7 shaders. Please see https://aka.ms/directx12agility for details.
The SPIR-V backend of the compiler has been enabled in this release. Please note that Microsoft does not perform testing/verification of the SPIR-V backend.
DX Compiler release for July 2022. Contains shader model 6.7 and many bug fixes and improvements, such as:
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll for x64 and, for the first time, arm64 platforms!
The new DirectX 12 Agility SDK (Microsoft.Direct3D.D3D12 nuget package) and a hardware driver with appropriate support are required to run shader model 6.7 shaders. Please see https://aka.ms/directx12agility for details.
The SPIR-V backend of the compiler has been enabled in this release. Please note that Microsoft does not perform testing/verification of the SPIR-V backend.