mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
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>
This commit is contained in:
parent
eaa0b58963
commit
f5eb25ec9f
1 changed files with 10 additions and 10 deletions
|
|
@ -1183,7 +1183,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?)
|
||||||
|
|
||||||
.. opcode:: UDIV - Unsigned Integer Division
|
.. opcode:: UDIV - Unsigned Integer Division
|
||||||
|
|
||||||
For division by zero, 0xffffffff is returned.
|
For division by zero, ``0xffffffff`` is returned.
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -1198,7 +1198,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?)
|
||||||
|
|
||||||
.. opcode:: UMOD - Unsigned Integer Remainder
|
.. opcode:: UMOD - Unsigned Integer Remainder
|
||||||
|
|
||||||
If *src1* is zero, 0xffffffff is returned.
|
If *src1* is zero, ``0xffffffff`` is returned.
|
||||||
|
|
||||||
.. math::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -1317,7 +1317,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?)
|
||||||
|
|
||||||
.. opcode:: SHL - Shift Left
|
.. 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::
|
.. 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)
|
.. 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::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -1347,7 +1347,7 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?)
|
||||||
|
|
||||||
.. opcode:: USHR - Logical Shift Right
|
.. 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::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -2183,7 +2183,7 @@ two-component vectors with 64-bits in each component.
|
||||||
|
|
||||||
.. opcode:: U64SHL - Shift Left 64-bit Unsigned Integer
|
.. 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::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -2193,7 +2193,7 @@ two-component vectors with 64-bits in each component.
|
||||||
|
|
||||||
.. opcode:: I64SHR - Arithmetic Shift Right (of 64-bit Signed Integer)
|
.. 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::
|
.. math::
|
||||||
|
|
||||||
|
|
@ -2203,7 +2203,7 @@ two-component vectors with 64-bits in each component.
|
||||||
|
|
||||||
.. opcode:: U64SHR - Logical Shift Right (of 64-bit Unsigned Integer)
|
.. 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::
|
.. 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.
|
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),
|
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
|
where F is ``0xffffffff`` when the fragment belongs to a front-facing polygon
|
||||||
0 when the fragment belongs to a back-facing polygon.
|
and ``0`` when the fragment belongs to a back-facing polygon.
|
||||||
|
|
||||||
|
|
||||||
TGSI_SEMANTIC_EDGEFLAG
|
TGSI_SEMANTIC_EDGEFLAG
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue