summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-01-28 12:43:47 -0800
committerJason Ekstrand <[email protected]>2015-01-28 13:21:40 -0800
commitbb26ebac134ad97effad46eede1a14334c0fb675 (patch)
treef37b0e30f6d883862941c716c284908116103045
parent7ac79eea1a621f5cd27c3b052aeea3df1aa4cd99 (diff)
nir/opcodes: Use a return type of tfloat for ldexp
Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/glsl/nir/nir_opcodes.py2
1 files changed, 1 insertions, 1 deletions
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))