summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-09-15 17:47:27 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-09-16 13:18:42 +0200
commitdd26e4273b71046de37d3e2d7b90fe86dcc85d10 (patch)
tree11885f2849b7374a35123cb4d8a712f55fbdab47
parent03f0ec745a2bd118bf68a0e7d82b05acad5933a6 (diff)
tgsi: fix the documentation of DLDEXP
Sourcing the exponent for the zw destination pair from Z is consistent with both tgsi_exec and gallivm. In practice, st_glsl_to_tgsi always generates per-channel instructions anyway.
-rw-r--r--src/gallium/docs/source/tgsi.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index 0bd9964a98..8633c929b9 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -1859,7 +1859,7 @@ source is an integer.
dst.xy = src0.xy \times 2^{src1.x}
- dst.zw = src0.zw \times 2^{src1.y}
+ dst.zw = src0.zw \times 2^{src1.z}
.. opcode:: DMIN - Minimum