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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user