mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
ir3: add braces around complex if/else block
Will need to add code to one of the blocks in the next commit. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33489>
This commit is contained in:
parent
2e0d5ccd91
commit
922bfe4b6e
1 changed files with 5 additions and 4 deletions
|
|
@ -2294,13 +2294,14 @@ handle_block(struct ra_ctx *ctx, struct ir3_block *block)
|
|||
}
|
||||
|
||||
foreach_instr (instr, &block->instr_list) {
|
||||
if (instr->opc == OPC_META_PHI)
|
||||
if (instr->opc == OPC_META_PHI) {
|
||||
handle_phi(ctx, instr->dsts[0]);
|
||||
else if (instr->opc == OPC_META_INPUT ||
|
||||
instr->opc == OPC_META_TEX_PREFETCH)
|
||||
} else if (instr->opc == OPC_META_INPUT ||
|
||||
instr->opc == OPC_META_TEX_PREFETCH) {
|
||||
handle_input(ctx, instr);
|
||||
else
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* After this point, every live-in/phi/input has an interval assigned to
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue