mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 10:50:16 +01:00
agx: Stop setting registers after the shader
Leftover from before live range splitting. Should be a no-op. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
This commit is contained in:
parent
87121cf9a4
commit
6447bf4cce
1 changed files with 0 additions and 13 deletions
|
|
@ -1162,19 +1162,6 @@ agx_ra(agx_context *ctx)
|
|||
|
||||
assert(ctx->max_reg <= max_regs);
|
||||
|
||||
agx_foreach_instr_global(ctx, ins) {
|
||||
agx_foreach_ssa_src(ins, s) {
|
||||
unsigned v = ssa_to_reg[ins->src[s].value];
|
||||
agx_replace_src(ins, s, agx_register(v, ins->src[s].size));
|
||||
}
|
||||
|
||||
agx_foreach_ssa_dest(ins, d) {
|
||||
unsigned v = ssa_to_reg[ins->dest[d].value];
|
||||
ins->dest[d] =
|
||||
agx_replace_index(ins->dest[d], agx_register(v, ins->dest[d].size));
|
||||
}
|
||||
}
|
||||
|
||||
agx_foreach_instr_global_safe(ctx, ins) {
|
||||
/* Lower away RA pseudo-instructions */
|
||||
agx_builder b = agx_init_builder(ctx, agx_after_instr(ins));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue