docs/gallium: use math-role for zero and one also

Without this, the zero and one renders with a different font than the
other equations. There's no good reason for this, so let's just use the
math-role for these too.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19460>
This commit is contained in:
Erik Faye-Lund
2022-10-19 14:20:04 +02:00
committed by Marge Bot
parent be857778bb
commit d264ec7b22

View File

@@ -37,7 +37,7 @@ and performing one of the following operations per-channel:
================== =========================
Operation Equation
================== =========================
``CLEAR`` 0
``CLEAR`` :math:`0`
``NOR`` :math:`\lnot(s \lor d)`
``AND_INVERTED`` :math:`\lnot s \land d`
``COPY_INVERTED`` :math:`\lnot s`
@@ -52,7 +52,7 @@ Operation Equation
``COPY`` :math:`s`
``OR_REVERSE`` :math:`s \lor \lnot d`
``OR`` :math:`s \lor d`
``SET`` 1
``SET`` :math:`1`
================== =========================
.. note::