From: Connor Abbott Date: Fri, 31 Jul 2015 17:52:25 +0000 (-0700) Subject: nir: don't try to scalarize unpack_double_2x32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b093808d26c3c6e06db6329debbb3cfa7acf3a48;p=mesa.git nir: don't try to scalarize unpack_double_2x32 Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c index e8ba640fe0b..1548abbd558 100644 --- a/src/compiler/nir/nir_lower_alu_to_scalar.c +++ b/src/compiler/nir/nir_lower_alu_to_scalar.c @@ -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);