Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions llvm/docs/DirectXUsage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Initially the backend is aimed at supporting DirectX 12, and support for DirectX
11 is planned at a later date.

The DirectX backend is currently experimental and is not shipped with any
release builds of LLVM tools. To enable building the DirectX backend locally add
release builds of LLVM tools. To build the DirectX backend locally, add
``DirectX`` to the ``LLVM_EXPERIMENTAL_TARGETS_TO_BUILD`` CMake option. For more
information on building LLVM see the :doc:`CMake` documentation.

Expand All @@ -38,16 +38,16 @@ information on building LLVM see the :doc:`CMake` documentation.
Target Triples
==============

At present the DirectX target only supports the ``dxil`` architecture, which
At present, the DirectX target only supports the ``dxil`` architecture, which
generates code for the
`DirectX Intermediate Language. <https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst>`_

In addition to target architecture, the DirectX backend also needs to know the
target runtime version and pipeline stage. These are expressed using the OS and
Environment triple component.

Presently the DirectX backend requires targeting the ``shadermodel`` OS, and
supports versions 6.0+ (at time of writing the latest announced version is 6.7).
Presently, the DirectX backend requires targeting the ``shadermodel`` OS, and
supports versions 6.0+ (as of writing, the latest announced version is 6.7).

.. table:: DirectX Environments

Expand Down
Loading