mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965/fs: Don't CSE render target messages with different target index.
We weren't checking the fs_inst::target field when comparing whether two instructions are equal. For FB writes it doesn't matter because they aren't CSE-able anyway, but this would have become a problem with FB reads which are expression-like instructions. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
db123df747
commit
3daa0fae4b
1 changed files with 1 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ instructions_match(fs_inst *a, fs_inst *b, bool *negate)
|
|||
a->header_size == b->header_size &&
|
||||
a->shadow_compare == b->shadow_compare &&
|
||||
a->pi_noperspective == b->pi_noperspective &&
|
||||
a->target == b->target &&
|
||||
a->sources == b->sources &&
|
||||
operands_match(a, b, negate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue