Mesa (master): gallium/docs: Fix the math formula of U2I64

Nicolai Hähnle nh at kemper.freedesktop.org
Wed Aug 23 12:15:33 UTC 2017


Module: Mesa
Branch: master
Commit: 9649c6accedf091e294efe724fd3103aba1ca0f0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9649c6accedf091e294efe724fd3103aba1ca0f0

Author: Gwan-gyeong Mun <elongbug at gmail.com>
Date:   Wed Aug 23 00:57:18 2017 +0900

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 at gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 src/gallium/docs/source/tgsi.rst | 4 ++--
 1 file 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
 




More information about the mesa-commit mailing list