mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 04:40:22 +01:00
pco: experimentally propagate olchk mod for fwd prop opt
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
140154db02
commit
725293c8f7
1 changed files with 6 additions and 0 deletions
|
|
@ -393,6 +393,12 @@ static inline bool try_fwd_prop_instr(pco_instr **writes, pco_instr *instr)
|
|||
/* TODO: types? */
|
||||
*psrc = repl;
|
||||
|
||||
if (pco_instr_has_olchk(parent_instr) &&
|
||||
pco_instr_get_olchk(parent_instr)) {
|
||||
assert(pco_instr_has_olchk(instr));
|
||||
pco_instr_set_olchk(instr, true);
|
||||
}
|
||||
|
||||
progress = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue