diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2022-11-02 15:50:28 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-11-03 07:40:35 +0000 |
commit | f5eb25ec9f2cf41b444d30a79029f11b801c307a (patch) | |
tree | 366697211eb5b3e738a0a3ecdbe319f4b8461e6c /docs/gallium | |
parent | eaa0b589635e783373b78236bf54b6d9f6051a42 (diff) | |
download | mesa-f5eb25ec9f2cf41b444d30a79029f11b801c307a.tar.gz |
docs/tgsi: quote literal numbers
This makes them stand out a bit, and render using a monospace font.
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19460>
Diffstat (limited to 'docs/gallium')
-rw-r--r-- | docs/gallium/tgsi.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/gallium/tgsi.rst b/docs/gallium/tgsi.rst index 2bfdd768cd3..f5faf9470b1 100644 --- a/docs/gallium/tgsi.rst +++ b/docs/gallium/tgsi.rst @@ -1183,7 +1183,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. opcode:: UDIV - Unsigned Integer Division - For division by zero, 0xffffffff is returned. + For division by zero, ``0xffffffff`` is returned. .. math:: @@ -1198,7 +1198,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. opcode:: UMOD - Unsigned Integer Remainder - If *src1* is zero, 0xffffffff is returned. + If *src1* is zero, ``0xffffffff`` is returned. .. math:: @@ -1317,7 +1317,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. opcode:: SHL - Shift Left - The shift count is masked with 0x1f before the shift is applied. + The shift count is masked with ``0x1f`` before the shift is applied. .. math:: @@ -1332,7 +1332,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. opcode:: ISHR - Arithmetic Shift Right (of Signed Integer) - The shift count is masked with 0x1f before the shift is applied. + The shift count is masked with ``0x1f`` before the shift is applied. .. math:: @@ -1347,7 +1347,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. opcode:: USHR - Logical Shift Right - The shift count is masked with 0x1f before the shift is applied. + The shift count is masked with ``0x1f`` before the shift is applied. .. math:: @@ -2183,7 +2183,7 @@ two-component vectors with 64-bits in each component. .. opcode:: U64SHL - Shift Left 64-bit Unsigned Integer - The shift count is masked with 0x3f before the shift is applied. + The shift count is masked with ``0x3f`` before the shift is applied. .. math:: @@ -2193,7 +2193,7 @@ two-component vectors with 64-bits in each component. .. opcode:: I64SHR - Arithmetic Shift Right (of 64-bit Signed Integer) - The shift count is masked with 0x3f before the shift is applied. + The shift count is masked with ``0x3f`` before the shift is applied. .. math:: @@ -2203,7 +2203,7 @@ two-component vectors with 64-bits in each component. .. opcode:: U64SHR - Logical Shift Right (of 64-bit Unsigned Integer) - The shift count is masked with 0x3f before the shift is applied. + The shift count is masked with ``0x3f`` before the shift is applied. .. math:: @@ -3221,8 +3221,8 @@ where F will be positive when the fragment belongs to a front-facing polygon, and negative when the fragment belongs to a back-facing polygon. If it is a system value, it will be an integer vector in the form (F, 0, 0, 1), -where F is 0xffffffff when the fragment belongs to a front-facing polygon and -0 when the fragment belongs to a back-facing polygon. +where F is ``0xffffffff`` when the fragment belongs to a front-facing polygon +and ``0`` when the fragment belongs to a back-facing polygon. TGSI_SEMANTIC_EDGEFLAG |