mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
ir3/ra: fix copy-paste error
I don't entirely understand what this is all doing, but this looks like a copy-paste error. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Backport-to: 26.0 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40480>
This commit is contained in:
parent
54af9431d1
commit
a6b86d43d3
1 changed files with 1 additions and 1 deletions
|
|
@ -569,7 +569,7 @@ try_demote_instruction(struct ra_ctx *ctx, struct ir3_instruction *instr)
|
|||
struct ra_interval *src0_interval =
|
||||
(instr->srcs[0]->flags & IR3_REG_SSA) ? ra_interval_get(ctx, instr->srcs[0]->def) : NULL;
|
||||
struct ra_interval *src1_interval =
|
||||
(instr->srcs[0]->flags & IR3_REG_SSA) ? ra_interval_get(ctx, instr->srcs[0]->def) : NULL;
|
||||
(instr->srcs[1]->flags & IR3_REG_SSA) ? ra_interval_get(ctx, instr->srcs[1]->def) : NULL;
|
||||
if (!(src0_interval && src0_interval->spill_def) &&
|
||||
!(src1_interval && src1_interval->spill_def) &&
|
||||
!(instr->srcs[0]->flags & IR3_REG_IMMED) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue