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 <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:35:17 +01:00
committed by Erik Faye-Lund
parent b7327296d5
commit abcd3423e9

View File

@@ -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