Mesa (staging/18.3): nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Nov 16 12:05:12 UTC 2018
Module: Mesa
Branch: staging/18.3
Commit: 087f1534ae5bcfb9e4aa736e6c559ab4b768527a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=087f1534ae5bcfb9e4aa736e6c559ab4b768527a
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Tue Nov 13 13:24:34 2018 -0600
nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16
It messes up when trying to lower.
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
(cherry picked from commit 4266932c0b301005dcc747fb6c2fef36a3af6ffe)
---
src/compiler/nir/nir_lower_alu_to_scalar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_lower_alu_to_scalar.c b/src/compiler/nir/nir_lower_alu_to_scalar.c
index 0be3aba945..7ef032cd16 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);
More information about the mesa-commit
mailing list