docs: -Ddri-drivers= option is deprecated, do not use it anymore
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19459>
This commit is contained in:
@@ -43,7 +43,7 @@ it's easy to add support, see the commit ``cff7de4bb597e9`` as an example.
|
||||
LLVM is *not* required by Panfrost's compilers. LLVM support in Mesa can
|
||||
safely be disabled for most OpenGL ES users with Panfrost.
|
||||
|
||||
Build like ``meson . build/ -Ddri-drivers= -Dvulkan-drivers=
|
||||
Build like ``meson . build/ -Dvulkan-drivers=
|
||||
-Dgallium-drivers=panfrost -Dllvm=disabled`` for a build directory
|
||||
``build``.
|
||||
|
||||
|
@@ -24,7 +24,6 @@ Build EGL
|
||||
-D egl=enabled \
|
||||
-D gles1=enabled \
|
||||
-D gles2=enabled \
|
||||
-D dri-drivers=... \
|
||||
-D gallium-drivers=...
|
||||
|
||||
The main library and OpenGL is enabled by default. The first two
|
||||
|
@@ -124,7 +124,7 @@ like this:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
meson builddir/ -Dprefix="$MESA_INSTALLDIR" -Ddri-drivers= \
|
||||
meson builddir/ -Dprefix="$MESA_INSTALLDIR" \
|
||||
-Dgallium-drivers=swrast -Dvulkan-drivers=swrast
|
||||
ninja -C builddir/ install
|
||||
|
||||
|
@@ -25,7 +25,7 @@ Configure and build Mesa with something like:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
meson builddir -Dosmesa=true -Dgallium-drivers=swrast -Ddri-drivers=[] -Dvulkan-drivers=[] -Dprefix=$PWD/builddir/install
|
||||
meson builddir -Dosmesa=true -Dgallium-drivers=swrast -Dvulkan-drivers=[] -Dprefix=$PWD/builddir/install
|
||||
ninja -C builddir install
|
||||
|
||||
Make sure you have LLVM installed first if you want to use the LLVMpipe
|
||||
|
Reference in New Issue
Block a user