mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
ir3/ra: Prepare for shared phis
Correctly copy the shared-ness to the parallel copy when the destination is shared. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22075>
This commit is contained in:
parent
a7cae84078
commit
4937172534
1 changed files with 1 additions and 0 deletions
|
|
@ -470,6 +470,7 @@ create_parallel_copy(struct ir3_block *block)
|
|||
!phi->srcs[pred_idx]->def)
|
||||
continue;
|
||||
phi->srcs[pred_idx]->def = pcopy->dsts[j];
|
||||
pcopy->dsts[j]->flags |= phi->dsts[0]->flags & IR3_REG_SHARED;
|
||||
phi->srcs[pred_idx]->flags = pcopy->dsts[j]->flags;
|
||||
j++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue