gallium/docs: Fix the math formula of U2I64
authorGwan-gyeong Mun <elongbug@gmail.com>
Tue, 22 Aug 2017 15:57:18 +0000 (00:57 +0900)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 12:09:49 +0000 (14:09 +0200)
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>
src/gallium/docs/source/tgsi.rst

index f9b1385e55ac69049ff77b8fa9425484662becab..31331ef51116cc88a322c9867669012b0e366213 100644 (file)
@@ -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