pan/bi: Handle modifiers in rewrite_fau_to_pass
Will prevent failures when we start using FAU together with modifiers in
a few commits.
Fixes: fc7770b1dd
("pan/bi: Add trivial rewrite helpers")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8973>
This commit is contained in:
parent
e9572ff3e9
commit
6106fb5d8d
|
@ -856,8 +856,10 @@ bi_rewrite_fau_to_pass(bi_tuple *tuple)
|
|||
bi_foreach_instr_and_src_in_tuple(tuple, ins, s) {
|
||||
if (ins->src[s].type != BI_INDEX_FAU) continue;
|
||||
|
||||
ins->src[s] = bi_passthrough(ins->src[s].offset ?
|
||||
bi_index pass = bi_passthrough(ins->src[s].offset ?
|
||||
BIFROST_SRC_FAU_HI : BIFROST_SRC_FAU_LO);
|
||||
|
||||
ins->src[s] = bi_replace_index(ins->src[s], pass);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue