[Mesa-dev] [PATCH 05/13] gallium/docs: refactoring opcode RCC
Alexander Troosh
trush at yandex.ru
Wed Oct 8 04:40:22 PDT 2014
---
src/gallium/docs/source/tgsi.rst | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 12c675e..b1be923 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -408,11 +408,10 @@ This instruction replicates its result.
This instruction replicates its result.
-XXX cleanup on aisle three
-
.. math::
- dst = (src.x > 0) ? \quad clamp(\frac1{src.x}, 5.42101e-020, 1.84467e+019) : clamp(\frac1{src.x}, -1.84467e+019, -5.42101e-020)
+ dst = \begin{cases} clamp\left(\dfrac1{src.x}, \quad +5.42101 \times {10}^{-20}, \quad +1.84467 \times {10}^{+19}\right) & \mbox{for } src.x > 0 \\
+ clamp\left(\dfrac1{src.x}, \quad -1.84467 \times {10}^{+19}, \quad -5.42101 \times {10}^{-20}\right) & \mbox{otherwise} \end{cases}
.. opcode:: DPH - Homogeneous Dot Product
--
1.7.3.4
More information about the mesa-dev
mailing list