nir: don't try to scalarize unpack_double_2x32
authorConnor Abbott <connor.w.abbott@intel.com>
Fri, 31 Jul 2015 17:52:25 +0000 (10:52 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 11 Apr 2016 06:29:27 +0000 (08:29 +0200)
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_alu_to_scalar.c

index e8ba640fe0baabc54cbd70d346a1230b8b15a0d4..1548abbd558ae525e85254fcf4d1a5f085420650 100644 (file)
@@ -187,6 +187,9 @@ lower_alu_instr_scalar(nir_alu_instr *instr, nir_builder *b)
       return;
    }
 
+   case nir_op_unpack_double_2x32:
+      return;
+
       LOWER_REDUCTION(nir_op_fdot, nir_op_fmul, nir_op_fadd);
       LOWER_REDUCTION(nir_op_ball_fequal, nir_op_feq, nir_op_iand);
       LOWER_REDUCTION(nir_op_ball_iequal, nir_op_ieq, nir_op_iand);