docs: document LP_NATIVE_VECTOR_WIDTH GALLIUM_OVERRIDE_CPU_CAPS GALLIUM_NOSSE LP_FORC...
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 27 Aug 2022 06:44:49 +0000 (14:44 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 01:51:42 +0000 (01:51 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17813>

docs/drivers/llvmpipe.rst

index fe8a8b1..cc1e1aa 100644 (file)
@@ -87,6 +87,29 @@ To build everything on Linux invoke meson as:
 Using
 -----
 
+Environment variables
+~~~~~~~~~~~~~~~~~~~~~
+
+``LP_NATIVE_VECTOR_WIDTH``
+   We can use it to override vector bits. Because sometimes it turns
+   out llvmpipe can be fastest by using 128 bit vectors,
+   yet use AVX instructions.
+``GALLIUM_OVERRIDE_CPU_CAPS``
+   Override cpu capabilities for llvmpipe and softpipe, possible values for x86:
+   `nosse`
+   `sse`
+   `sse2`
+   `sse3`
+   `ssse3`
+   `sse4.1`
+   `avx`
+``GALLIUM_NOSSE``
+   Deprecated in favor of `GALLIUM_OVERRIDE_CPU_CAPS`,
+   use `GALLIUM_OVERRIDE_CPU_CAPS=nosse` instead.
+``LP_FORCE_SSE2``
+   Deprecated in favor of `GALLIUM_OVERRIDE_CPU_CAPS`
+   use `GALLIUM_OVERRIDE_CPU_CAPS=sse2` instead.
+
 Linux
 ~~~~~