diff options
author | Matt Turner <[email protected]> | 2015-06-01 12:22:54 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-06-02 12:22:42 -0700 |
commit | 5da809d70fb50eb4b290ee7cbe1b8f09e9286f4e (patch) | |
tree | 6e64bccc0cef624cda3b7cef10c84dcd49575009 /src | |
parent | 576f7241b6ce0ae22aa52a3e91fb1ac913d4b7b2 (diff) |
prog_to_nir: Remove OPCODE_MOV special case.
OPCODE_MOV is in the op_trans[] array.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/program/prog_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 5e104e70f4a..d6f165e5060 100644 --- 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)); |