diff options
author | Iago Toral Quiroga <[email protected]> | 2016-03-11 14:35:07 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2016-05-16 09:55:32 +0200 |
commit | cf375a3333e54a01462f192202d609436e5fbec8 (patch) | |
tree | a43182aa9bfeada61952bc47b6b5f82402939bbd /src/mesa/program/prog_parameter_layout.c | |
parent | ea1ef49a16dc429c50ece388e92bf206ccf282a7 (diff) |
i965/fs: fix copy propagation of partially invalidated entries
We were not invalidating entries with a src that reads more than one register
when we find writes that overwrite any register read by entry->src after
the first. This leads to incorrect copy propagation because we re-use
entries from the ACP that have been partially invalidated. Same thing for
entries with a dst that writes to more than one register.
v2 (Sam):
- Improve code by defining regions_overlap() and using it instead of a
loop (Curro).
Reviewed-by: Francisco Jerez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_parameter_layout.c')
0 files changed, 0 insertions, 0 deletions