From bb26ebac134ad97effad46eede1a14334c0fb675 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 28 Jan 2015 12:43:47 -0800 Subject: [PATCH] nir/opcodes: Use a return type of tfloat for ldexp Reviewed-by: Connor Abbott Reviewed-by: Matt Turner --- 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 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)) -- 2.30.2