mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
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:
parent
b7327296d5
commit
abcd3423e9
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue