summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs/source/tgsi.rst
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-09-15 16:51:14 +0200
committerNicolai Hähnle <[email protected]>2017-09-29 12:08:01 +0200
commitcad959d90145226c1ef8314c6f6cc1f7094bd572 (patch)
tree9eb78107d9fea674a12c3f10b5940fcedd51029b /src/gallium/docs/source/tgsi.rst
parent2b0bfc51de148147b7a822bb022a7ee2a1c2a28f (diff)
gallium: add LDEXP TGSI instruction and corresponding cap
Reviewed-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/tgsi.rst')
-rw-r--r--src/gallium/docs/source/tgsi.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index fd78c40ba3c..274646703b4 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -351,6 +351,18 @@ This instruction replicates its result.
dst = src0.x^{src1.x}
+.. opcode:: LDEXP - Multiply Number by Integral Power of 2
+
+src1 is an integer.
+
+.. math::
+
+ dst.x = src0.x * 2^{src1.x}
+ dst.y = src0.y * 2^{src1.y}
+ dst.z = src0.z * 2^{src1.z}
+ dst.w = src0.w * 2^{src1.w}
+
+
.. opcode:: COS - Cosine
This instruction replicates its result.