[Mesa-dev] [PATCH 3/3] nir/opcodes: Use a return type of tfloat for ldexp
Connor Abbott
cwabbott0 at gmail.com
Wed Jan 28 13:00:37 PST 2015
The rest of the series seems reasonable although I'm not an expert,
but this one is definitely
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>
On Wed, Jan 28, 2015 at 3:46 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> ---
> src/glsl/nir/nir_opcodes.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/glsl/nir/nir_opcodes.py b/src/glsl/nir/nir_opcodes.py
> index f54a017..77f3bb8 100644
> --- a/src/glsl/nir/nir_opcodes.py
> +++ b/src/glsl/nir/nir_opcodes.py
> @@ -477,7 +477,7 @@ else
> dst = ((1 << bits)- 1) << offset;
> """)
>
> -opcode("ldexp", 0, tunsigned, [0, 0], [tfloat, tint], "", """
> +opcode("ldexp", 0, tfloat, [0, 0], [tfloat, tint], "", """
> dst = ldexp(src0, src1);
> /* flush denormals to zero. */
> if (!isnormal(dst))
> --
> 2.2.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list