mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
prog_to_nir: Remove OPCODE_MOV special case.
OPCODE_MOV is in the op_trans[] array. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
576f7241b6
commit
5da809d70f
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue