microsoft/DirectXShaderCompiler
This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang. observed · 2026-10-16
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 85
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: 79.0
- age_days: 3605
- days_rel: 21
- days_push: 5
- n_releases_24m: 7
Adoption not part of the score
3666 stars · 911 forks observed · 2026-10-16
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-10-16 · 120304e8978f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/DirectXShaderCompiler | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/DirectXShaderCompiler")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem