radv: enable VK_AMD_shader_ballot on GFX6-7 with both compiler backends
[mesa.git] / docs / llvmpipe.rst
index 7a2effec64bf329123d7cc3970b6a063154353fc..ec8e92dc0a8a8dc9ec67b16dc0e4d6594a9a0246 100644 (file)
@@ -32,7 +32,7 @@ Requirements
 
    For Linux, on a recent Debian based distribution do:
 
-   ::
+   .. code-block:: console
 
       aptitude install llvm-dev
 
@@ -43,7 +43,7 @@ Requirements
 
    For a RPM-based distribution do:
 
-   ::
+   .. code-block:: console
 
       yum install llvm-devel
 
@@ -54,7 +54,19 @@ Requirements
    to be built with a matching CRT as Mesa, and you'll need to pass
    ``-DLLVM_USE_CRT_xxx=yyy`` as described below.
 
-   LLVM build-type
+
+   +-----------------+----------------------------------------------------------------+
+   | LLVM build-type | Mesa build-type                                                |
+   |                 +--------------------------------+-------------------------------+
+   |                 | debug,checked                  | release,profile               |
+   +=================+================================+===============================+
+   | Debug           | ``-DLLVM_USE_CRT_DEBUG=MTd``   | ``-DLLVM_USE_CRT_DEBUG=MT``   |
+   +-----------------+--------------------------------+-------------------------------+
+   | Release         | ``-DLLVM_USE_CRT_RELEASE=MTd`` | ``-DLLVM_USE_CRT_RELEASE=MT`` |
+   +-----------------+--------------------------------+-------------------------------+
+
+   You can build only the x86 target by passing
+   ``-DLLVM_TARGETS_TO_BUILD=X86`` to cmake.
 
 -  scons (optional)
 
@@ -63,13 +75,13 @@ Building
 
 To build everything on Linux invoke scons as:
 
-::
+.. code-block:: console
 
    scons build=debug libgl-xlib
 
 Alternatively, you can build it with meson with:
 
-::
+.. code-block:: console
 
    mkdir build
    cd build
@@ -79,7 +91,7 @@ Alternatively, you can build it with meson with:
 but the rest of these instructions assume that scons is used. For
 Windows the procedure is similar except the target:
 
-::
+.. code-block:: console
 
    scons platform=windows build=debug libgl-gdi