summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlorn10 <kle@bluewin.ch>2023-03-02 11:51:27 +0000
committerDavid Heidelberg <david.heidelberg@collabora.com>2023-09-19 18:55:28 +0530
commit00aa8816a1a9f501515a40d63c7d0b4c4dda3e31 (patch)
tree12b4654249b7e3bf9ea7654fd5735f09729e8292
parent4c877ebfe50868d97a74b25576abdba4ae6c7139 (diff)
docs: Update Clover's env variable documentation
Fixes: 981bc603b46c ("clover: implement CLOVER_DEVICE_TYPE like RUSTICL_DEVICE_TYPE") Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21657>
-rw-r--r--docs/envvars.rst32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/envvars.rst b/docs/envvars.rst
index 935bc7d9414..01f72fae90e 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -947,6 +947,33 @@ Gallium environment variables
Clover environment variables
----------------------------
+.. envvar:: CLOVER_DEVICE_TYPE
+
+ allows to overwrite the device type of devices. Possible values are
+ ``accelerator``, ``cpu``, ``custom`` and ``gpu``
+
+.. envvar:: CLOVER_DEVICE_VERSION_OVERRIDE
+
+ overwrites the auto detected OpenCL version of a device. Possible values:
+ ``1.0``
+ ``1.1``
+ ``1.2``
+ ``2.0``
+ ``2.1``
+ ``2.2``
+ ``3.0``
+
+.. envvar:: CLOVER_DEVICE_CLC_VERSION_OVERRIDE
+
+ overwrites the auto detected CLC version. Possible values:
+ ``1.0``
+ ``1.1``
+ ``1.2``
+ ``2.0``
+ ``2.1``
+ ``2.2``
+ ``3.0``
+
.. envvar:: CLOVER_EXTRA_BUILD_OPTIONS
allows specifying additional compiler and linker options. Specified
@@ -967,6 +994,11 @@ Clover environment variables
.. _rusticl-env-var:
+.. envvar:: IRIS_ENABLE_CLOVER
+
+ allows to enable experimental Clover NIR support with the iris driver if
+ set to 1 or true.
+
Rusticl environment variables
-----------------------------