projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e62fe
)
freedreno/a2xx: ir2: check opcode on the right instruction in export cp
author
Jonathan Marek
<jonathan@marek.ca>
Thu, 5 Sep 2019 15:21:16 +0000
(11:21 -0400)
committer
Jonathan Marek
<jonathan@marek.ca>
Fri, 6 Sep 2019 02:24:29 +0000
(
02:24
+0000)
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a2xx/ir2_cp.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/a2xx/ir2_cp.c
b/src/gallium/drivers/freedreno/a2xx/ir2_cp.c
index 0e16bdaa4c1ae0cbb8c9f15649b1311e12bf787e..2b165b3353bdcc45d1d3610d5376b8c9eb7fd9cf 100644
(file)
--- 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: