mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
i965/fs: Fix a comment in copy propagation.
We haven't been only tracking raw GRF-GRF moves since the constant propagation merge, and also the extension for source modifiers and uniforms. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
545b59b62a
commit
9864a5b098
1 changed files with 3 additions and 1 deletions
|
|
@ -245,7 +245,9 @@ fs_visitor::opt_copy_propagate_local(void *mem_ctx, bblock_t *block)
|
|||
}
|
||||
}
|
||||
|
||||
/* If this instruction is a raw copy, add it to the ACP. */
|
||||
/* If this instruction's source could potentially be folded into the
|
||||
* operand of another instruction, add it to the ACP.
|
||||
*/
|
||||
if (inst->opcode == BRW_OPCODE_MOV &&
|
||||
inst->dst.file == GRF &&
|
||||
((inst->src[0].file == GRF &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue