summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwan-gyeong Mun <elongbug@gmail.com>2017-08-23 00:57:18 +0900
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-08-23 14:09:49 +0200
commit9649c6accedf091e294efe724fd3103aba1ca0f0 (patch)
tree3a8638912476049e7798d037f0f89b6760652487
parent9aabf80ef3c1f2a320e83643a9edf96b1e483133 (diff)
gallium/docs: Fix the math formula of U2I64
before: dst.xy = (uint64_t) src0.x dst.zw = (uint64_t) src0.y after: dst.xy = (int64_t) src0.x dst.zw = (int64_t) src0.y Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
-rw-r--r--src/gallium/docs/source/tgsi.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst
index f9b1385e55..31331ef511 100644
--- a/src/gallium/docs/source/tgsi.rst
+++ b/src/gallium/docs/source/tgsi.rst
@@ -2199,9 +2199,9 @@ two-component vectors with 64-bits in each component.
.. math::
- dst.xy = (uint64_t) src0.x
+ dst.xy = (int64_t) src0.x
- dst.zw = (uint64_t) src0.y
+ dst.zw = (int64_t) src0.y
.. opcode:: I2I64 - Signed Integer to 64-bit Integer