summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-09-15 17:47:27 +0200
committerNicolai Hähnle <[email protected]>2017-09-29 12:07:46 +0200
commitdbe7fc00d5715bcc08acc3141414da037938bbdd (patch)
tree76778533d9d2d7ab09dc11fdedc8c0e3f9cbcbb6 /src
parentd713af711d3fdf63358f627b3f318f8b88519e46 (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. Reviewed-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src')
-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 0bd9964a985..8633c929b9f 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