[Mesa-dev] [PATCH] gallium/docs: Fix the math formula of U2I64
Nicolai Hähnle
nhaehnle at gmail.com
Wed Aug 23 12:16:46 UTC 2017
On 22.08.2017 17:57, Gwan-gyeong Mun wrote:
> 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>
R-b and pushed, thanks.
> ---
> 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
>
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list