Re: [Mesa-dev] [PATCH] gallium: fix some math formulas to display better
On 02.04.2017 18:02, Ilia Mirkin wrote: Signed-off-by: Ilia MirkinReviewed-by: Nicolai Hähnle --- src/gallium/docs/source/tgsi.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 05b06ce..ca31924 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -1204,13 +1204,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = \frac{src0.x}{src1.x} - dst.y = src0.y \ src1.y + dst.y = \frac{src0.y}{src1.y} - dst.z = src0.z \ src1.z + dst.z = \frac{src0.z}{src1.z} - dst.w = src0.w \ src1.w + dst.w = \frac{src0.w}{src1.w} .. opcode:: UDIV - Unsigned Integer Division @@ -1219,13 +1219,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = \frac{src0.x}{src1.x} - dst.y = src0.y \ src1.y + dst.y = \frac{src0.y}{src1.y} - dst.z = src0.z \ src1.z + dst.z = \frac{src0.z}{src1.z} - dst.w = src0.w \ src1.w + dst.w = \frac{src0.w}{src1.w} .. opcode:: UMOD - Unsigned Integer Remainder @@ -1234,13 +1234,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = src0.x \bmod src1.x - dst.y = src0.y \ src1.y + dst.y = src0.y \bmod src1.y - dst.z = src0.z \ src1.z + dst.z = src0.z \bmod src1.z - dst.w = src0.w \ src1.w + dst.w = src0.w \bmod src1.w .. opcode:: NOT - Bitwise Not @@ -2259,17 +2259,17 @@ two-component vectors with 64-bits in each component. .. math:: - dst.xy = src0.xy \ src1.xy + dst.xy = \frac{src0.xy}{src1.xy} - dst.zw = src0.zw \ src1.zw + dst.zw = \frac{src0.zw}{src1.zw} .. opcode:: U64DIV - 64-bit Unsigned Integer Division .. math:: - dst.xy = src0.xy \ src1.xy + dst.xy = \frac{src0.xy}{src1.xy} - dst.zw = src0.zw \ src1.zw + dst.zw = \frac{src0.zw}{src1.zw} .. opcode:: U64MOD - 64-bit Unsigned Integer Remainder -- Lerne, wie die Welt wirklich ist, Aber vergiss niemals, wie sie sein sollte. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] [PATCH] gallium: fix some math formulas to display better
Reviewed-by: Marek OlšákMarek On Sun, Apr 2, 2017 at 6:02 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > src/gallium/docs/source/tgsi.rst | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/src/gallium/docs/source/tgsi.rst > b/src/gallium/docs/source/tgsi.rst > index 05b06ce..ca31924 100644 > --- a/src/gallium/docs/source/tgsi.rst > +++ b/src/gallium/docs/source/tgsi.rst > @@ -1204,13 +1204,13 @@ Support for these opcodes indicated by > PIPE_SHADER_CAP_INTEGERS (all of them?) > > .. math:: > > - dst.x = src0.x \ src1.x > + dst.x = \frac{src0.x}{src1.x} > > - dst.y = src0.y \ src1.y > + dst.y = \frac{src0.y}{src1.y} > > - dst.z = src0.z \ src1.z > + dst.z = \frac{src0.z}{src1.z} > > - dst.w = src0.w \ src1.w > + dst.w = \frac{src0.w}{src1.w} > > > .. opcode:: UDIV - Unsigned Integer Division > @@ -1219,13 +1219,13 @@ Support for these opcodes indicated by > PIPE_SHADER_CAP_INTEGERS (all of them?) > > .. math:: > > - dst.x = src0.x \ src1.x > + dst.x = \frac{src0.x}{src1.x} > > - dst.y = src0.y \ src1.y > + dst.y = \frac{src0.y}{src1.y} > > - dst.z = src0.z \ src1.z > + dst.z = \frac{src0.z}{src1.z} > > - dst.w = src0.w \ src1.w > + dst.w = \frac{src0.w}{src1.w} > > > .. opcode:: UMOD - Unsigned Integer Remainder > @@ -1234,13 +1234,13 @@ Support for these opcodes indicated by > PIPE_SHADER_CAP_INTEGERS (all of them?) > > .. math:: > > - dst.x = src0.x \ src1.x > + dst.x = src0.x \bmod src1.x > > - dst.y = src0.y \ src1.y > + dst.y = src0.y \bmod src1.y > > - dst.z = src0.z \ src1.z > + dst.z = src0.z \bmod src1.z > > - dst.w = src0.w \ src1.w > + dst.w = src0.w \bmod src1.w > > > .. opcode:: NOT - Bitwise Not > @@ -2259,17 +2259,17 @@ two-component vectors with 64-bits in each component. > > .. math:: > > - dst.xy = src0.xy \ src1.xy > + dst.xy = \frac{src0.xy}{src1.xy} > > - dst.zw = src0.zw \ src1.zw > + dst.zw = \frac{src0.zw}{src1.zw} > > .. opcode:: U64DIV - 64-bit Unsigned Integer Division > > .. math:: > > - dst.xy = src0.xy \ src1.xy > + dst.xy = \frac{src0.xy}{src1.xy} > > - dst.zw = src0.zw \ src1.zw > + dst.zw = \frac{src0.zw}{src1.zw} > > .. opcode:: U64MOD - 64-bit Unsigned Integer Remainder > > -- > 2.10.2 > > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [PATCH] gallium: fix some math formulas to display better
Signed-off-by: Ilia Mirkin--- src/gallium/docs/source/tgsi.rst | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/gallium/docs/source/tgsi.rst b/src/gallium/docs/source/tgsi.rst index 05b06ce..ca31924 100644 --- a/src/gallium/docs/source/tgsi.rst +++ b/src/gallium/docs/source/tgsi.rst @@ -1204,13 +1204,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = \frac{src0.x}{src1.x} - dst.y = src0.y \ src1.y + dst.y = \frac{src0.y}{src1.y} - dst.z = src0.z \ src1.z + dst.z = \frac{src0.z}{src1.z} - dst.w = src0.w \ src1.w + dst.w = \frac{src0.w}{src1.w} .. opcode:: UDIV - Unsigned Integer Division @@ -1219,13 +1219,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = \frac{src0.x}{src1.x} - dst.y = src0.y \ src1.y + dst.y = \frac{src0.y}{src1.y} - dst.z = src0.z \ src1.z + dst.z = \frac{src0.z}{src1.z} - dst.w = src0.w \ src1.w + dst.w = \frac{src0.w}{src1.w} .. opcode:: UMOD - Unsigned Integer Remainder @@ -1234,13 +1234,13 @@ Support for these opcodes indicated by PIPE_SHADER_CAP_INTEGERS (all of them?) .. math:: - dst.x = src0.x \ src1.x + dst.x = src0.x \bmod src1.x - dst.y = src0.y \ src1.y + dst.y = src0.y \bmod src1.y - dst.z = src0.z \ src1.z + dst.z = src0.z \bmod src1.z - dst.w = src0.w \ src1.w + dst.w = src0.w \bmod src1.w .. opcode:: NOT - Bitwise Not @@ -2259,17 +2259,17 @@ two-component vectors with 64-bits in each component. .. math:: - dst.xy = src0.xy \ src1.xy + dst.xy = \frac{src0.xy}{src1.xy} - dst.zw = src0.zw \ src1.zw + dst.zw = \frac{src0.zw}{src1.zw} .. opcode:: U64DIV - 64-bit Unsigned Integer Division .. math:: - dst.xy = src0.xy \ src1.xy + dst.xy = \frac{src0.xy}{src1.xy} - dst.zw = src0.zw \ src1.zw + dst.zw = \frac{src0.zw}{src1.zw} .. opcode:: U64MOD - 64-bit Unsigned Integer Remainder -- 2.10.2 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev