docs: Update Clover's env variable documentation

Fixes: 981bc603b4 ("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>
This commit is contained in:
lorn10 2023-03-02 11:51:27 +00:00 committed by David Heidelberg
parent 4c877ebfe5
commit 00aa8816a1

View File

@ -947,6 +947,33 @@ Gallium environment variables
Clover 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 .. envvar:: CLOVER_EXTRA_BUILD_OPTIONS
allows specifying additional compiler and linker options. Specified allows specifying additional compiler and linker options. Specified
@ -967,6 +994,11 @@ Clover environment variables
.. _rusticl-env-var: .. _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 Rusticl environment variables
----------------------------- -----------------------------