mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
freedreno/a2xx: ir2: update register state in scalar insert
Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
588cfe4a2b
commit
80906a12d9
1 changed files with 6 additions and 0 deletions
|
|
@ -133,6 +133,12 @@ insert(struct ir2_context *ctx, unsigned block_idx, unsigned reg_idx,
|
|||
sched = s;
|
||||
}
|
||||
*comp = ffs(mask) - 1;
|
||||
|
||||
if (sched) {
|
||||
for (s = sched; s != &ctx->instr_sched[ctx->instr_sched_count]; s++)
|
||||
s->reg_state[reg_idx/8] |= 1 << (*comp+reg_idx%8*4);
|
||||
}
|
||||
|
||||
return sched;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue