Microsoft.Direct3D.DXC
1.8.2306.6-preview
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.Direct3D.DXC --version 1.8.2306.6-preview
NuGet\Install-Package Microsoft.Direct3D.DXC -Version 1.8.2306.6-preview
<PackageReference Include="Microsoft.Direct3D.DXC" Version="1.8.2306.6-preview" />
paket add Microsoft.Direct3D.DXC --version 1.8.2306.6-preview
#r "nuget: Microsoft.Direct3D.DXC, 1.8.2306.6-preview"
// Install Microsoft.Direct3D.DXC as a Cake Addin #addin nuget:?package=Microsoft.Direct3D.DXC&version=1.8.2306.6-preview&prerelease // Install Microsoft.Direct3D.DXC as a Cake Tool #tool nuget:?package=Microsoft.Direct3D.DXC&version=1.8.2306.6-preview&prerelease
DirectX Shader Compiler Redistributable Package
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
Licenses
The included licenses apply to the following files:
License file | Applies to |
---|---|
LICENSE-MS.txt | dxil.dll (if included in package) |
LICENSE-MIT.txt | d3d12shader.h |
LICENSE-LLVM.txt | all other files |
Changelog
Version 1.8.2306
DX Compiler preview release for June 2023.
- Includes experimental support for Shader Model 6.8 features:
- New Wave matrix types support wave-cooperative multiplication and accumulation operations.
- New Work Graphs adds "node" shaders that can generate GPU workloads in a shader graph.
- See the DirectX blog for more information about Shader Model 6.8 features: https://devblogs.microsoft.com/directx/
The Windows package includes dxc.exe, dxcompiler.dll, and corresponding lib and headers for x64 and arm64 platforms. The Linux package includes dxc, libdxcompiler.so, and corresponding headers for x86_64 Ubuntu LTS (22.04).
The DXIL signing library (dxil.dll/libdxil.so) is not provided with this preview release. DXIL generated with this compiler targeting Shader Model 6.8 is not final, cannot be validated, and is not supported for distribution or execution on machines not running in developer mode.
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.8 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.
Version 1.7.2212
DX Compiler release for December 2022.
- Includes full support of HLSL 2021 for SPIRV generation as well as many HLSL 2021 fixes and enhancements:
- HLSL 2021's
and
,or
andselect
intrinsics are now exposed in all language modes. This was done to ease porting codebases to HLSL2021, but may cause name conflicts in existing code. - Improved template utility with user-defined types
- Many additional bug fixes
- HLSL 2021's
- Linux binaries are now included. This includes the compiler executable, the dynamic library, and the dxil signing library.
- New flags for inspecting compile times:
-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 arguent 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.- Both new options are supported via the DXC API using the
DXC_OUT_TIME_REPORT
andDXC_OUT_TIME_TRACE
output kinds respectively.
- IDxcPdbUtils2 enables reading new PDB container part
-P
flag will now behave as it does with cl using the file specified by-Fi
or a default- Unbound multidimensional resource arrays are allowed
- Diagnostic improvements
- Reflection support on non-Windows platforms; minor updates adding RequiredFeatureFlags to library function reflection and thread group size for AS and MS.
The 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.
Version 1.7.2207
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 (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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.8.2407.12 | 3,634 | 7/31/2024 |
1.8.2407.11 | 246 | 7/26/2024 |
1.8.2405.17 | 5,949 | 5/28/2024 |
1.8.2404.55-mesh-nodes-preview | 4,674 | 7/17/2024 |
1.8.2403.24 | 1,860 | 3/30/2024 |
1.8.2403.21 | 9,090 | 3/22/2024 |
1.8.2403.18 | 3,422 | 3/7/2024 |
1.8.2306.6-preview | 2,523 | 6/23/2023 |
1.7.2308.12 | 4,363 | 8/14/2023 |
1.7.2212.36 | 7,605 | 3/2/2023 |
1.7.2212.23 | 726 | 1/18/2023 |
1.7.2212.19 | 1,626 | 1/9/2023 |
1.7.2212.17 | 1,580 | 12/29/2022 |
1.7.2212.16 | 1,179 | 12/28/2022 |
1.7.2212.14 | 1,439 | 12/16/2022 |
1.7.2207.26 | 1,377 | 12/10/2022 |
1.7.2207.8 | 1,534 | 12/7/2022 |
1.7.2207.7 | 1,251 | 12/5/2022 |