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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user