summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2018-11-13 13:24:34 -0600
committerJason Ekstrand <jason.ekstrand@intel.com>2018-11-15 19:59:09 -0600
commit4266932c0b301005dcc747fb6c2fef36a3af6ffe (patch)
treeeb69933667e59e4818c2295e9e705b72f0657568 /src/compiler
parent425c133ab9bfdc937a12352b09c957c75d2cf92a (diff)
nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16
It messes up when trying to lower. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_lower_alu_to_scalar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c
index 0be3aba9456..7ef032cd164 100644
--- a/src/compiler/nir/nir_lower_alu_to_scalar.c
+++ b/src/compiler/nir/nir_lower_alu_to_scalar.c
@@ -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);