mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
pan/midgard: Fix corner case in RA
It doesn't really matter but... meh. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
d722b60191
commit
f29d03a1f9
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ static struct phys_reg
|
|||
index_to_reg(compiler_context *ctx, struct ra_graph *g, unsigned reg)
|
||||
{
|
||||
/* Check for special cases */
|
||||
if ((reg == ~0) && g)
|
||||
if (reg == ~0)
|
||||
return default_phys_reg(REGISTER_UNUSED);
|
||||
else if (reg >= SSA_FIXED_MINIMUM)
|
||||
return default_phys_reg(SSA_REG_FROM_FIXED(reg));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue