From 210dbe3fc184dba8719bb6ff3c8815652d001573 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 24 Jul 2019 14:10:12 -0700 Subject: [PATCH] pan/midgard: Remove check for `class` Fixes classes defaulting to vec4 in some cases. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_ra.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c index 67a1795545d..dc3d22883ab 100644 --- a/src/panfrost/midgard/midgard_ra.c +++ b/src/panfrost/midgard/midgard_ra.c @@ -492,7 +492,6 @@ allocate_registers(compiler_context *ctx, bool *spilled) for (unsigned i = 0; i < ctx->temp_count; ++i) { unsigned class = found_class[i]; - if (!class) continue; ra_set_node_class(g, i, classes[class]); } -- 2.30.2