freedreno/a2xx: ir2: check opcode on the right instruction in export cp

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Jonathan Marek
2019-09-05 11:21:16 -04:00
parent 19e62fec60
commit a6ebd4ab08
+1 -1
View File
@@ -205,7 +205,7 @@ void cp_export(struct ir2_context *ctx)
memset(p->ssa.comp, 0, sizeof(p->ssa.comp));
p->alu.saturate |= instr->alu.saturate;
switch (instr->alu.vector_opc) {
switch (p->alu.vector_opc) {
case PRED_SETE_PUSHv ... PRED_SETGTE_PUSHv:
case DOT2ADDv:
case DOT3v: