From eaa0b589635e783373b78236bf54b6d9f6051a42 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 19 Oct 2022 15:40:55 +0200 Subject: [PATCH] docs/tgsi: mark pseudocode as such This is more semantically strong. Reviewed-by: Eric Engestrom Part-of: --- docs/gallium/tgsi.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst index 183444e74da..2bfdd768cd3 100644 --- a/docs/gallium/tgsi.rst +++ b/docs/gallium/tgsi.rst @@ -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