projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576f724
)
prog_to_nir: Remove OPCODE_MOV special case.
author
Matt Turner
<mattst88@gmail.com>
Mon, 1 Jun 2015 19:22:54 +0000
(12:22 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 2 Jun 2015 19:22:42 +0000
(12:22 -0700)
OPCODE_MOV is in the op_trans[] array.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/prog_to_nir.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_to_nir.c
b/src/mesa/program/prog_to_nir.c
index 5e104e70f4aa27422e688e60bfd550f3813de2f3..d6f165e506088dd3f9604f63f5d8e9d722228d70 100644
(file)
--- a/
src/mesa/program/prog_to_nir.c
+++ b/
src/mesa/program/prog_to_nir.c
@@
-891,7
+891,7
@@
ptn_emit_instruction(struct ptn_compile *c, struct prog_instruction *prog_inst)
break;
default:
- if (op_trans[op] != 0
|| op == OPCODE_MOV
) {
+ if (op_trans[op] != 0) {
ptn_alu(b, op_trans[op], dest, src);
} else {
fprintf(stderr, "unknown opcode: %s\n", _mesa_opcode_string(op));