diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2023-03-14 10:35:17 +0100 |
---|---|---|
committer | Erik Faye-Lund <kusmabite@gmail.com> | 2023-05-05 21:40:31 +0200 |
commit | abcd3423e9bfbe9d3b95d61b2f0951458877c805 (patch) | |
tree | bdd9a737d3747680c10cc574df303ac24207613a /docs | |
parent | b7327296d522e00e1f526a611753ad37775bff76 (diff) | |
download | mesa-abcd3423e9bfbe9d3b95d61b2f0951458877c805.tar.gz |
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gallium/tgsi.rst | 8 |
1 files 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 |