Skip to content
Chas. Boyd edited this page Jan 18, 2017 · 27 revisions

Welcome to the DirectXShaderCompiler wiki!

DirectX Shader Compiler

The DirectX Shader Compiler is a compiler and related set of tools used to compile High-Level Shader Language (HLSL) programs into DirectX Intermediate Language (DXIL) representation. Applications that make use of DirectX for graphics, games, and computation can use it to generate shader programs.

Making Changes

To make contributions, see the CONTRIBUTING.md file in this project.

Documentation

You can find documentation for this project in the docs/ directory. These contain the original LLVM documentation files, as well as two new files worth nothing:

  • HLSLChanges.rst: this is the starting point for how this fork diverges from the original llvm/clang sources
  • DXIL.rst: this file contains the specification for the DXIL format
  • tools/clang/docs/UsingDxc.rst: this file contains a user guide for dxc.exe

Other Useful Tools

These are recommendations from experience to improve your coding, not official endorsements.

License

DirectX Shader Compiler is distributed under the terms of the MIT license.

See LICENSE-MIT and COPYRIGHT for details.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.