mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
ir3/legalize: don't add WAR dependencies for const/imm regs
Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30611>
This commit is contained in:
parent
7cc24aa506
commit
523a0e2e39
1 changed files with 3 additions and 1 deletions
|
|
@ -635,7 +635,9 @@ legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
|
|||
}
|
||||
} else {
|
||||
foreach_src (reg, n) {
|
||||
regmask_set(&state->needs_ss_war, reg);
|
||||
if (!(reg->flags & (IR3_REG_IMMED | IR3_REG_CONST))) {
|
||||
regmask_set(&state->needs_ss_war, reg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue