diff options
author | Italo Nicola <[email protected]> | 2020-07-13 16:19:08 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-13 20:38:03 +0000 |
commit | 2096903a05b835d5cd5982b741ba0d28b6ede632 (patch) | |
tree | f1123f8623b24b4e347be7d502d0a7cb0b6d241a | |
parent | be8a8edb1e40d9a716e56961142edd4d29e2a4a3 (diff) |
panfrost: Fix outmods on int to float conversions
No shader-db changes (Alyssa).
Signed-off-by: Italo Nicola <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5883>
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 35af805ea19..324e6278163 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1101,7 +1101,7 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr) * fsat alone. */ - if (!is_int && !(opcode_props & OP_TYPE_CONVERT)) { + if (!midgard_is_integer_out_op(op)) { bool fpos = mir_accept_dest_mod(ctx, &dest, nir_op_fclamp_pos); bool fsat = mir_accept_dest_mod(ctx, &dest, nir_op_fsat); bool ssat = mir_accept_dest_mod(ctx, &dest, nir_op_fsat_signed); |