microsoft/DirectXShaderCompiler
This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 99
- Release rhythm 71
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 97
- age_days: 3557
- days_rel: 35
- days_push: 7
- n_releases_24m: 6
Adoption not part of the score
3629 stars · 897 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Microsoft's DirectX Shader Compiler (DXC), an LLVM/Clang-based compiler that translates HLSL shader programs into DXIL bytecode for DirectX and SPIR-V for Vulkan. It ships as a CLI tool (dxc.exe), shared libraries for programmatic compilation/validation, and command-line DXIL validators.
Use cases
- compile HLSL shaders to DXIL for DirectX 12
- compile HLSL to SPIR-V for Vulkan
- validate DXIL shader bytecode before driver consumption
- disassemble and inspect compiled shader binaries
- integrate shader compilation into a game build pipeline
- experiment with new HLSL language features and shader models
When to choose
- building DirectX 12 or Vulkan applications that need shader model 6.0+ features
- automating offline shader compilation in build pipelines
- needing programmable compiler APIs via dxcompiler.dll/so
- contributing to or extending HLSL language evolution
When to avoid
- targeting legacy shader models below 6.0 (use FXC instead)
- needing a general-purpose C/C++ compiler (use upstream LLVM/Clang)
- working on platforms where only prebuilt DXC binaries are unavailable and building LLVM is impractical
Facets
cli-tool · maturity active
compiler developer-tools graphics compilers developer-tools windows cross-platform cli hlsl dxil spir-v llvm clang shader-compilation directx vulkan gpu-drivers game-development linux macos
1 source
- readme: https://github.com/microsoft/DirectXShaderCompiler · fetched 2026-08-28 · 120304e8978f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/DirectXShaderCompiler | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/DirectXShaderCompiler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem