mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 17:00:13 +01:00
pco/opt: disable back-propagation of indexed registers
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
719ece42c0
commit
34993085f4
1 changed files with 3 additions and 0 deletions
|
|
@ -258,6 +258,9 @@ static inline bool try_back_prop_instr(struct pco_use *uses, pco_instr *instr)
|
|||
|
||||
pco_ref *pdest_from = &use->instr->dest[0];
|
||||
|
||||
if (pco_ref_is_idx_reg(*pdest_from))
|
||||
return false;
|
||||
|
||||
if (pco_ref_is_reg(*pdest_from) &&
|
||||
pco_ref_get_reg_class(*pdest_from) == PCO_REG_CLASS_PIXOUT) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue