diff --git a/.pick_status.json b/.pick_status.json index dbac1051ee0..5b75f95d9f6 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -157,7 +157,7 @@ "description": "pan/bi: Fix RA of node 0", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "39aa8c4a5ac9243348b552d9055a926b77d98c29" }, diff --git a/src/panfrost/bifrost/bi_ra.c b/src/panfrost/bifrost/bi_ra.c index c7c2003bfd3..62dff967d3e 100644 --- a/src/panfrost/bifrost/bi_ra.c +++ b/src/panfrost/bifrost/bi_ra.c @@ -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;