diff options
author | Nicolai Hähnle <[email protected]> | 2017-01-16 16:40:41 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-01-16 20:17:22 +0100 |
commit | 6be4a404300e4896ef531a10e24c6b76698afe1a (patch) | |
tree | 0a46e8ad9e353a9441bd04287afdfbcbbf66afbf /src/gallium/docs | |
parent | 5e94e5bb9bc30b575fdd3347bab7f170fb736e83 (diff) |
tgsi: add DDIV instruction
Double-precision division, to allow more precision than a DRCP + DMUL
sequence.
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/docs')
-rw-r--r-- | src/gallium/docs/source/tgsi.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index d2d30b41d00..3e2d0e9fac2 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -2005,6 +2005,15 @@ Perform a * b + c with no intermediate rounding step. dst.zw = src0.zw \times src1.zw + src2.zw +.. opcode:: DDIV - Divide + +.. math:: + + dst.xy = \frac{src0.xy}{src1.xy} + + dst.zw = \frac{src0.zw}{src1.zw} + + .. opcode:: DRCP - Reciprocal .. math:: |