Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Greg Roth edited this pageSep 3, 2021 ·27 revisions

DirectX Shader Compiler

The DirectX Shader Compiler project includes a compiler and related 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.

The project evolves by supporting newShader Models, which reflect capabilities of underlying hardware and drivers, andLanguage Versions, which reflect capabilities of the compiler toolchain.

Features and Goals

The starting point of the project is a fork of theLLVM andClang projects, modified to accept HLSL and emit a validated container that can be consumed by GPU drivers.

At the moment, the DirectX HLSL Compiler provides the following components:

  • dxc.exe, a command-line tool that can compile HLSL programs for shader model 6 and beyond

  • dxcompiler.dll, a DLL providing a componentized compiler, assembler, disassembler, and validator

  • various other tools based on the above components

The Microsoft Windows SDK releases include supported versions of the compiler and validator.

The goal of the project is to allow the broader community of shader developers to contribute to the language and representation of shader programs, maintaining the principles of compatibility and supportability for the platform. It's currently in active development across two axes: language evolution (with no impact to DXIL representation), and surfacing hardware capabilities (with impact to DXIL, and thus requiring coordination with GPU implementations).Candidate feature lists for both language and hardware evolution are included on theRoadmap page.

Getting Things Done

Making Changes

To make contributions, see theContributing.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 some new files worth noting:

Additional documentation is available on the Wiki:

Code of Conduct

This project has adopted theMicrosoft Open Source Code of Conduct. For more information see theCode of Conduct FAQ or contactopencode@microsoft.com with any additional questions or comments.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp