From abcd3423e9bfbe9d3b95d61b2f0951458877c805 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 14 Mar 2023 10:35:17 +0100 Subject: [PATCH] docs/tgsi: fixup latex for TEX and TEX2 We need to excape the underscores for shadow_ref, as well as escape non-math symbols. Acked-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Roland Scheidegger Part-of: --- docs/gallium/tgsi.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst index c4891ba4cf6..6ef63724f87 100644 --- a/docs/gallium/tgsi.rst +++ b/docs/gallium/tgsi.rst @@ -561,11 +561,11 @@ used. coord = src0 - shadow_ref = src0.z or src0.w (optional) + shadow\_ref = src0.z \textrm{ or } src0.w \textrm{ (optional)} unit = src1 - dst = texture\_sample(unit, coord, shadow_ref) + dst = texture\_sample(unit, coord, shadow\_ref) .. opcode:: TEX2 - Texture Lookup (for shadow cube map arrays only) @@ -577,11 +577,11 @@ used. coord = src0 - shadow_ref = src1.x + shadow\_ref = src1.x unit = src2 - dst = texture\_sample(unit, coord, shadow_ref) + dst = texture\_sample(unit, coord, shadow\_ref) .. opcode:: TXD - Texture Lookup with Derivatives