docs/tgsi: do not use math-block for non-latex
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 14 Mar 2023 09:23:43 +0000 (10:23 +0100)
committerErik Faye-Lund <kusmabite@gmail.com>
Fri, 5 May 2023 19:40:27 +0000 (21:40 +0200)
This block isn't valid latex, so let's just use a pseudocode-block like
we do elsewhere here.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21893>

docs/gallium/tgsi.rst

index 9b5d807..c4891ba 100644 (file)
@@ -700,7 +700,7 @@ used.
 
    Conditional discard.  Allowed in fragment shaders only.
 
-   .. math::
+   Pseudocode::
 
       if (src.x < 0 || src.y < 0 || src.z < 0 || src.w < 0)
          discard