summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/freedreno/a3xx/ir3_ra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/ir3_ra.c b/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
index a9a510f3bc2..67f92e670e9 100644
--- a/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
+++ b/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
@@ -576,7 +576,8 @@ static void ir3_instr_ra(struct ir3_ra_ctx *ctx,
dst->flags &= ~IR3_REG_ADDR;
num = regid(REG_A0, 0) | REG_HALF;
} else {
- assert(0);
+ /* predicate register (p0).. etc */
+ return;
}
ra_assign(ctx, instr, num);