mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
ir3/legalize: insert (ss) to read consts after stc
Observed when reading consts in the preamble using alias.rt. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31222>
This commit is contained in:
parent
9b6bca52d5
commit
96e08c3859
1 changed files with 1 additions and 1 deletions
|
|
@ -644,7 +644,7 @@ legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block)
|
|||
} else {
|
||||
regmask_set(&state->needs_ss, n->dsts[0]);
|
||||
}
|
||||
} else if (n->opc == OPC_PUSH_CONSTS_LOAD_MACRO) {
|
||||
} else if (n->opc == OPC_PUSH_CONSTS_LOAD_MACRO || n->opc == OPC_STC) {
|
||||
state->needs_ss_for_const = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue