[Mesa-dev] [PATCH] gallium/docs: Fix the math formula of U2I64
Gwan-gyeong Mun
elongbug at gmail.com
Tue Aug 22 15:57:18 UTC 2017
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>
---
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
--
2.14.1
More information about the mesa-dev
mailing list