mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
pan/bi: Don't lower FAU for phis
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
This commit is contained in:
parent
694578ee54
commit
a01e6b6dc7
1 changed files with 4 additions and 0 deletions
|
|
@ -2055,6 +2055,10 @@ bi_lower_fau(bi_context *ctx)
|
|||
constants[cwords++] = ins->src[3].value;
|
||||
}
|
||||
|
||||
/* Phis get split up into moves so are unrestricted */
|
||||
if (ins->op == BI_OPCODE_PHI)
|
||||
continue;
|
||||
|
||||
bi_foreach_src(ins, s) {
|
||||
if (bi_check_fau_src(ins, s, constants, &cwords, &fau)) continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue