diff options
author | Jason Ekstrand <[email protected]> | 2015-01-28 12:43:47 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-28 13:21:40 -0800 |
commit | bb26ebac134ad97effad46eede1a14334c0fb675 (patch) | |
tree | f37b0e30f6d883862941c716c284908116103045 /src/glsl/nir/nir_opcodes.py | |
parent | 7ac79eea1a621f5cd27c3b052aeea3df1aa4cd99 (diff) |
nir/opcodes: Use a return type of tfloat for ldexp
Reviewed-by: Connor Abbott <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_opcodes.py')
-rw-r--r-- | src/glsl/nir/nir_opcodes.py | 2 |
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)) |