DirectX Shader Compiler

Microsoft · Microsoft.DirectX.ShaderCompiler

The project includes a compiler and related tools used to compile High-Level Shader Language (HLSL) programs into DirectX Intermediate Language (DXIL) representation.

winget install --id Microsoft.DirectX.ShaderCompiler --exact --source winget

Latest 1.9.2602

Release Notes

DXC Release Highlights

This release of the DirectX Shader Compiler (DXC) adds production support for Shader Model 6.9, along with broad correctness, stability, and SPIR-V backend improvements.

For an overview of the Shader Model 6.9 feature set and motivation, see:

  • The official DX blog post
  • Shader Model 6.9 and the Future of Cooperative Vector blog post

SPIR-V Backend Improvements

This release includes significant SPIR-V backend updates focused on:

  • Improved layout and ABI correctness, including scalar layout rules and structure layout consistency.
  • Expanded type system support, including templates and richer pointer-based types.
  • Better code generation correctness for arithmetic, control flow, and resource access.
  • Ongoing improvements to debug information emission for SPIR-V targets.

These changes improve interoperability with Vulkan drivers and tooling while aligning behavior more closely with HLSL and DXIL semantics.

Compiler Quality and Stability

In addition to new feature support, this release delivers:

  • Numerous compiler correctness fixes across HLSL front-end, DXIL, and SPIR-V paths.
  • Improved handling of edge cases in constant buffers, resources, and control flow.
  • General stability and reliability improvements when compiling complex shaders.

More Details

This DX compiler release is also available as a NuGet package Microsoft.Direct3D.DXC.

The new DirectX 12 Agility SDK and a hardware driver with appropriate support are required to run shader model 6.9 shaders. Please see https://aka.ms/directx12agility for details.

For an itemized list of changes, fixes, and technical details, see the full release notes:

  • ReleaseNotes.md

Installer type: zip

Architecture Scope Download SHA256
arm64 Download A1E89031421CF3C1FCA6627766AB3020CA4F962AC7E2CAA7FAB2B33A8436151E
x64 Download A1E89031421CF3C1FCA6627766AB3020CA4F962AC7E2CAA7FAB2B33A8436151E
x86 Download A1E89031421CF3C1FCA6627766AB3020CA4F962AC7E2CAA7FAB2B33A8436151E

Details

Homepage
https://github.com/microsoft/DirectXShaderCompiler
License
LLVM Release License
Publisher
Microsoft
Support
https://github.com/microsoft/DirectXShaderCompiler/issues

Tags

Microsoft.Direct3D.DXCclangdirectx-intermediate-languagedirectx-shader-compilerdirectxintermediatelanguagedirectxshadercompilerdx-compilerdxcdxcompiler.infdxil.dlldxvhigh-level-shader-languagehighlevelshaderlanguagehlslllvm

Older versions (1)

1.8.2505.1
Architecture Scope Download SHA256
x64 Download 9AD895A6B039E3A8F8C22A1009F866800B840A74B50DB9218D13319E215EA8A4
x86 Download 9AD895A6B039E3A8F8C22A1009F866800B840A74B50DB9218D13319E215EA8A4
arm64 Download 9AD895A6B039E3A8F8C22A1009F866800B840A74B50DB9218D13319E215EA8A4