mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
ir3/legalize: don't special-case early-preamble a1 reads
We can just generically read from the regmask. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36614>
This commit is contained in:
parent
8760c36579
commit
bd28a40bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ ir3_required_sync_flags(struct ir3_legalize_state *state,
|
|||
if (state->needs_sy_for_const) {
|
||||
flags |= IR3_INSTR_SY;
|
||||
}
|
||||
} else if (reg_is_addr1(reg) && n->block->in_early_preamble) {
|
||||
} else if (!(reg->flags & (IR3_REG_IMMED | IR3_REG_RT))) {
|
||||
if (regmask_get(&state->needs_ss, reg)) {
|
||||
flags |= IR3_INSTR_SS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue