docs/tgsi: mark pseudocode as such
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 19 Oct 2022 13:40:55 +0000 (15:40 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 3 Nov 2022 07:40:35 +0000 (07:40 +0000)
This is more semantically strong.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19460>

docs/gallium/tgsi.rst

index 183444e..2bfdd76 100644 (file)
@@ -1651,13 +1651,17 @@ Some require glsl version 1.30 (UIF/SWITCH/CASE/DEFAULT/ENDSWITCH).
 
 .. opcode:: CAL - Subroutine Call
 
-  push(pc)
-  pc = target
+  Pseudocode::
+
+    push(pc)
+    pc = target
 
 
 .. opcode:: RET - Subroutine Call Return
 
-  pc = pop()
+  Pseudocode::
+
+    pc = pop()
 
 
 .. opcode:: CONT - Continue