summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2023-03-14 10:23:43 +0100
committerErik Faye-Lund <kusmabite@gmail.com>2023-05-05 21:40:27 +0200
commitb7327296d522e00e1f526a611753ad37775bff76 (patch)
tree020795f507c9b6ecf2a35e785ae5db5db97bb1ed /docs
parentf94c95ab5a16217bbdee785cf6b16c981d4fa808 (diff)
downloadmesa-b7327296d522e00e1f526a611753ad37775bff76.tar.gz
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>
Diffstat (limited to 'docs')
-rw-r--r--docs/gallium/tgsi.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst
index 9b5d807c217..c4891ba4cf6 100644
--- a/docs/gallium/tgsi.rst
+++ b/docs/gallium/tgsi.rst
@@ -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