docs/tgsi: do not use math-block for non-latex

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>
This commit is contained in:
Erik Faye-Lund
2023-03-14 10:23:43 +01:00
committed by Erik Faye-Lund
parent f94c95ab5a
commit b7327296d5

View File

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