mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
pan/bi: Fix RA of node 0
Fixes: 39aa8c4a5a ("pan/bi: Switch to new IR")
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
This commit is contained in:
parent
92461a1133
commit
3a16ab84e2
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ bi_allocate_registers(bi_context *ctx, bool *success)
|
|||
l->solutions[node] = 0;
|
||||
}
|
||||
|
||||
if (!dest || (dest >= node_count))
|
||||
if (dest >= node_count)
|
||||
continue;
|
||||
|
||||
l->class[dest] = BI_REG_CLASS_WORK;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue