mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
pan/midgard: Ignore inline_constant in liveness
It doesn't make any sense to look at it. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
d155168e6c
commit
16c8c354d0
1 changed files with 3 additions and 0 deletions
|
|
@ -338,6 +338,9 @@ allocate_registers(compiler_context *ctx, bool *spilled)
|
|||
for (int src = 0; src < 2; ++src) {
|
||||
int s = sources[src];
|
||||
|
||||
if (ins->ssa_args.inline_constant && src == 1)
|
||||
continue;
|
||||
|
||||
if (s < 0) continue;
|
||||
|
||||
if (s >= SSA_FIXED_MINIMUM) continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue