From: Jason Ekstrand Date: Wed, 28 Jan 2015 20:43:47 +0000 (-0800) Subject: nir/opcodes: Use a return type of tfloat for ldexp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb26ebac134ad97effad46eede1a14334c0fb675;p=mesa.git nir/opcodes: Use a return type of tfloat for ldexp Reviewed-by: Connor Abbott Reviewed-by: Matt Turner --- diff --git a/src/glsl/nir/nir_opcodes.py b/src/glsl/nir/nir_opcodes.py index f54a0176c0d..77f3bb8266d 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))