Releases: microsoft/DirectXShaderCompiler
DX Compiler release for July 2022
DX Compiler release for July 2022. Contains shader model 6.7 and many bug fixes and improvements, such as:
- Features: Shader Model 6.7 includes support for Raw Gather, Programmable Offsets, QuadAny/QuadAll, WaveOpsIncludeHelperLanes, and more!
- Platforms: ARM64 support
- HLSL 2021 : Enable “using” keyword
- Optimizations: Loop unrolling and dead code elimination improvements
- Developer tools: Improved disassembly output
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 and a hardware driver with appropriate support are required to run shader model 6.7 shaders.
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.
Also available via vcpkg.
DX Compiler for December 2021 with HLSL 2021 Preview
DirectX Compiler Release for December 2021.
Includes a preview of new HLSL 2021 language features. For details, see Announcing HLSL 2021.
Here are some highlights:
- template functions and data types
- overloadable operators for user defined data types
- bitfield members
HLSL 2021 also introduces more subtle changes that we think will make shader authoring in HLSL more familiar and productive, but it might have unexpected impact in existing shaders:
- Strict casting rules for user defined data types
- Logical operator short-circuiting for scalar types
- C++
for
loop scoping rules
The new features are available by passing -HV 2021
flag to the compiler. The HLSL 2021 will become the default language version in a future release.
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll. The new DirectX 12 Agility SDK is required to run shader model 6.6 shaders.
SPIR-V: Per community request 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 June 2021
DX Compiler release for June 2021. Contains bug fixes and improvements, such as:
- Improved dead code elimination
- Fixes compilation regression impacting Gather offsets
- DXIL library linking improved and added to dxc.exe with -link option
- Reflection size reduction for some cases
- Improved error handling
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll.
The new DirectX 12 Agility SDK is required to run shader model 6.6 shaders.
SPIR-V: Per community request 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 April 2021
DX Compiler release for April 2021. Contains shader model 6.6, DXIL version 1.6, and many bug fixes and improvements. A new feature called slim pdbs is also introduced which greatly reduces .pdb sizes.
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll.
The new DirectX 12 Agility SDK is required to run shader model 6.6 shaders.
SPIR-V: Per community request 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 October 2020
DX Compiler release for October 2020. Contains shader model 6.5, new IDxcCompiler3 interface, DXIL version 1.5 and many bug fixes and improvements.
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll.
Per community request 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 pre-release for March 2020
DX Compiler pre-release for March 2020. Contains shader model 6.5, new IDxcCompiler3 interface, DXIL version 1.5 and many bug fixes and improvements.
The package includes dxc.exe, dxcompiler.dll, corresponding lib and headers, and dxil.dll.
DX Compiler release for July 2019
DXC release for July 2019. (some files were rebuilt since then with different dates) Contains dxc.exe, dxcompiler.dll, and corresponding lib and header. Also validator DLL dxil.dll from 19H1 OS drop.
v1.2.0-alpha
This release contains everything up to Shader Model 6.1 as well as a preview of Shader Model 6.2