From: Alyssa Rosenzweig Date: Wed, 24 Jul 2019 21:10:12 +0000 (-0700) Subject: pan/midgard: Remove check for `class` X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=210dbe3fc184dba8719bb6ff3c8815652d001573;p=mesa.git pan/midgard: Remove check for `class` Fixes classes defaulting to vec4 in some cases. Signed-off-by: Alyssa Rosenzweig --- 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]); }