diff options
author | Jonathan Marek <[email protected]> | 2019-09-05 11:21:16 -0400 |
---|---|---|
committer | Jonathan Marek <[email protected]> | 2019-09-06 02:24:29 +0000 |
commit | a6ebd4ab08a7a39e0b8f0d58ca8a35e081f0fe5e (patch) | |
tree | 887851b21d398f9062d2b7b1080458cfdb144d4f | |
parent | 19e62fec608a0864e8fabd8dc46011dc56d24c88 (diff) |
freedreno/a2xx: ir2: check opcode on the right instruction in export cp
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/ir2_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_cp.c b/src/gallium/drivers/freedreno/a2xx/ir2_cp.c index 0e16bdaa4c1..2b165b3353b 100644 --- a/src/gallium/drivers/freedreno/a2xx/ir2_cp.c +++ b/src/gallium/drivers/freedreno/a2xx/ir2_cp.c @@ -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: |