[Mesa-stable] [PATCH 1/8] nir/lower_alu_to_scalar: Don't try to lower unpack_32_2x16

Jason Ekstrand jason at jlekstrand.net
Tue Nov 13 23:23:22 UTC 2018


It messes up when trying to lower.

Cc: mesa-stable at lists.freedesktop.org
---
 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 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);
-- 
2.19.1



More information about the mesa-stable mailing list