nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Nov 2018 19:24:34 +0000 (13:24 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 16 Nov 2018 01:59:09 +0000 (19:59 -0600)
It messes up when trying to lower.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/nir/nir_lower_alu_to_scalar.c

index 0be3aba9456c1399011d7693a51a5c6c89ff81d8..7ef032cd164cda0ea11ddd79334cf17d9ff77a9c 100644 (file)
@@ -194,6 +194,7 @@ lower_alu_instr_scalar(nir_alu_instr *instr, nir_builder *b)
    }
 
    case nir_op_unpack_64_2x32:
+   case nir_op_unpack_32_2x16:
       return false;
 
       LOWER_REDUCTION(nir_op_fdot, nir_op_fmul, nir_op_fadd);