nir/opcodes: Use a return type of tfloat for ldexp

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Jason Ekstrand
2015-01-28 12:43:47 -08:00
parent 7ac79eea1a
commit bb26ebac13
+1 -1
View File
@@ -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))